You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Configure these to match your existing testing environment or the one you want to create with Docker.
4
+
## Usually, these values should match the ones in the `wp-config.php` file.
5
+
## If using Local by Flywheel, you can `open AdminerEvo` and find the values in the URL: `http://localhost:{DB_PORT}/?username={DB_USER}&db={DB_NAME}`
6
+
## NOTE: Codeception may modify or the database during testing. If you want to preserve your local data, create a new database and use that for the `DB_NAME`.
7
+
DB_NAME=wordpress
8
+
# localhost creates issues with wp config create command
9
+
DB_HOST=127.0.0.1
10
+
DB_USER=root
11
+
DB_PASSWORD=password
12
+
DB_PORT=3306
13
+
14
+
# The local path to the WordPress root directory, the one containing the wp-load.php file.
15
+
## This can be a relative path from the directory that contains the codeception.yml file, or an absolute path.
16
+
## If you are using Local by Flywheel, you can find the path in the Local by Flywheel app under the site's settings.
17
+
WORDPRESS_ROOT_DIR="/tmp/wordpress"
18
+
19
+
# This table prefix used by the WordPress site, and in Acceptance tests.
20
+
WORDPRESS_TABLE_PREFIX=wp_
21
+
22
+
# The URL and domain of the WordPress site, and in Acceptance tests.
23
+
## If the port is in use, you can change it to a different port.
24
+
WORDPRESS_URL=http://localhost
25
+
WORDPRESS_DOMAIN=localhost
26
+
WORDPRESS_ADMIN_PATH=/wp-admin
27
+
28
+
# The username and password of the administrator user of the WordPress site, and in Acceptance tests.
0 commit comments