Skip to content

Commit

Permalink
test: update leia test parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
tobybellwood committed May 13, 2024
1 parent b790000 commit efb92e4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions TESTING_dockercompose.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,13 @@ docker compose exec -T cli bash -c "drush sql-cli < /app/test.sql"
docker compose exec -T cli bash -c "rm test.sql*"

# Should be able to show the drupal tables
docker compose exec -T cli bash -c "drush sqlq \'show tables;\'" | grep users
docker compose exec -T cli bash -c "echo U0hPVyBUQUJMRVM7 | base64 -d > /app/showtables.sql"
docker compose exec -T cli bash -c "drush sqlq --file /app/showtables.sql" | grep users

# Should be able to rebuild and persist the database
docker compose build && docker compose up -d
docker compose exec -T cli bash -c "drush sqlq \'show tables;\'" | grep users
docker compose exec -T cli bash -c "echo U0hPVyBUQUJMRVM7 | base64 -d > /app/showtables.sql"
docker compose exec -T cli bash -c "drush sqlq --file /app/showtables.sql" | grep users
```

Destroy tests
Expand Down

0 comments on commit efb92e4

Please sign in to comment.