-
Notifications
You must be signed in to change notification settings - Fork 14
/
.env.testing
60 lines (51 loc) · 1.49 KB
/
.env.testing
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Used by wp-graphql image to create the WP
DB_NAME=wordpress
DB_HOST=testing_db
DB_USER=wordpress
DB_PASSWORD=wordpress
WP_TABLE_PREFIX=wp_
WP_URL=http://localhost:8091
WP_DOMAIN=localhost
ADMIN_EMAIL=admin@example.com
ADMIN_USERNAME=admin
ADMIN_PASSWORD=password
ADMIN_PATH=/wp-admin
# Used by codeception WPBrowser
TEST_SITE_DB_DSN=mysql:host=${DB_HOST};dbname=${DB_NAME}
TEST_SITE_DB_HOST=${DB_HOST}
TEST_SITE_DB_NAME=${DB_NAME}
TEST_SITE_DB_USER=${DB_USER}
TEST_SITE_DB_PASSWORD=${DB_PASSWORD}
TEST_SITE_TABLE_PREFIX=${WP_TABLE_PREFIX}
TEST_SITE_ADMIN_USERNAME=admin
TEST_SITE_ADMIN_PASSWORD=password
TEST_SITE_WP_ADMIN_PATH=/wp-admin
WP_ROOT_FOLDER=/var/www/html
TEST_DB_NAME=${DB_NAME}
TEST_DB_HOST=${DB_HOST}
TEST_DB_USER=${DB_USER}
TEST_DB_PASSWORD=${DB_PASSWORD}
TEST_TABLE_PREFIX=${WP_TABLE_PREFIX}
TEST_SITE_WP_URL=http://localhost
TEST_SITE_WP_DOMAIN=localhost
TEST_SITE_ADMIN_EMAIL=admin@localhost
# Used by wp-graphql-testing docker
TESTS_OUTPUT=tests/_output
SUITES=acceptance,functional,wpunit
SKIP_TESTS_CLEANUP=1
# Used by wp-config.php
WORDPRESS_DB_HOST=${DB_HOST}
WORDPRESS_DB_USER=${DB_USER}
WORDPRESS_DB_PASSWORD=${DB_PASSWORD}
WORDPRESS_DB_NAME=${DB_NAME}
WORDPRESS_TABLE_PREFIX=${WP_TABLE_PREFIX}
# Used by db container
MYSQL_ROOT_PASSWORD=root
MYSQL_DATABASE=${DB_NAME}
MYSQL_USER=${DB_USER}
MYSQL_PASSWORD=${DB_PASSWORD}
# docker container env vars
WP_VERSION=6.3
PHP_VERSION=8.2
WPGRAPHQL_VERSION=latest
DATA_DUMP_DIR=/var/www/html/wp-content/plugins/wp-graphql-smart-cache/tests/_data