From 43e60f22d0ce40c6bdec3af33dddc3b109357eed Mon Sep 17 00:00:00 2001 From: Toby Bellwood Date: Mon, 13 May 2024 15:57:07 +1000 Subject: [PATCH] test: update leia test parsing --- TESTING_dockercompose.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/TESTING_dockercompose.md b/TESTING_dockercompose.md index 21a0752..0f96d6b 100644 --- a/TESTING_dockercompose.md +++ b/TESTING_dockercompose.md @@ -86,11 +86,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