-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy path.env
81 lines (72 loc) · 2.21 KB
/
.env
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
TEST=test
COMPOSE_PROJECT_NAME=italystrap
PROJECT_NAME=italystrap
PHP_VERSION=7.4
WP_VERSION=6.0
WP_PORT_TEST=8888
DB_PORT_TEST=8889
PMA_PORT_TEST=8890
DB_HOST=mysql
DB_NAME=test
DB_USER=root
DB_PASSWORD=root
TABLE_PREFIX=wp_
###
### Here starts the configuration for WPBrowser
###
TESTS_DIR=tests/php
#WP_ROOT_FOLDER="../../../"
WP_ROOT_FOLDER="/var/www/html"
# WPUnit Suite config
WPUNIT_ROOT_FOLDER="../../../"
#WPUNIT_ROOT_FOLDER="/var/www/html"
WPUNIT_DB_NAME=test
WPUNIT_DB_HOST=mysql
WPUNIT_DB_USER=root
WPUNIT_DB_PASSWORD=root
WPUNIT_TABLE_PREFIX=wp_
WPUNIT_SITE_WP_DOMAIN=localhost.local
WPUNIT_SITE_ADMIN_EMAIL=admin@localhost.local
# Functional and Acceptance Unit Suite config for WPDB driver
WPDB_DB_DSN=mysql:host=mysql;dbname=test
WPDB_DB_USER=root
WPDB_DB_PASSWORD=root
# This is the url inside the container
WPDB_WP_URL=http://localhost
WPDB_WP_DOMAIN=localhost
WPDB_TABLE_PREFIX=wp_
WPDB_DUMP_FILE="tests/_data/dump.sql"
# Functional and Acceptance Unit Suite config for WPBrowser driver
# This is the url inside the container
WPBROWSER_WP_URL=http://localhost
#WPBROWSER_ADMIN_USERNAME=root
#WPBROWSER_ADMIN_PASSWORD=root
WPBROWSER_ADMIN_USERNAME=admin
WPBROWSER_ADMIN_PASSWORD=password
WPBROWSER_WP_ADMIN_PATH=/wp-admin
# Used only for acceptance.suite.yml tests inside WPWebDriver configuration.
# The value must be the name of the WordPress container
# for resolving the correct IP of the machine if you use Docker as environment.
# This will be also used for replace the hardcoded dump URL with the one below
CHROMEDRIVER_WP_URL="http://italystrap_test"
# This must be the name of the Selenium container
CHROMEDRIVER_HOST=chromedriver
CHROMEDRIVER_PORT="4444"
#TEST_SITE_DB_DSN=mysql:host=localhost;dbname=test
#WP_ROOT_FOLDER="/tmp/wordpress"
#TEST_SITE_WP_ADMIN_PATH="/wp-admin"
#TEST_SITE_DB_NAME="test"
#TEST_SITE_DB_HOST="localhost"
#TEST_SITE_DB_USER="root"
#TEST_SITE_DB_PASSWORD="root"
#TEST_SITE_TABLE_PREFIX="wp_"
#TEST_DB_NAME="test"
#TEST_DB_HOST="localhost"
#TEST_DB_USER="root"
#TEST_DB_PASSWORD="root"
#TEST_TABLE_PREFIX="wp_"
#TEST_SITE_WP_URL="http://wp.localhost"
#TEST_SITE_WP_DOMAIN="wp.localhost"
#TEST_SITE_ADMIN_EMAIL="admin@wp.localhost"
#TEST_SITE_ADMIN_USERNAME="admin"
#TEST_SITE_ADMIN_PASSWORD="password"