diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 1b373fa..720720a 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -17,7 +17,7 @@ The `app` docker image starts a running WordPress site with the local wp-graphql The `testing` docker image starts a running WordPress and runs the codeception test suites. 1. Run `composer build-test` to build the `testing` docker image. -1. Run `composer run-tests` to start the `testing` image and run the codeception tests. +1. Run `composer run-test` to start the `testing` image and run the codeception tests. # Using XDebug @@ -39,7 +39,7 @@ Use the environment variable USING_XDEBUG to run tests with xdebug configured to ``` export USING_XDEBUG=1 -composer run-tests +composer run-test ``` Start the debugger in your IDE. Set breakpoints. diff --git a/bin/run-docker.sh b/bin/run-docker.sh index 8486ef0..9528507 100644 --- a/bin/run-docker.sh +++ b/bin/run-docker.sh @@ -19,7 +19,7 @@ if [ -z "$1" ]; then print_usage_instructions fi -env_file=".env.dist"; +env_file=".env"; subcommand=$1; shift case "$subcommand" in diff --git a/codeception.dist.yml b/codeception.dist.yml index de68491..23756bd 100644 --- a/codeception.dist.yml +++ b/codeception.dist.yml @@ -6,7 +6,7 @@ paths: envs: '%TESTS_ENVS%' params: - env - - .env.dist + - .env actor_suffix: Tester settings: colors: true