Merge pull request #20846 from woocommerce/fix/e2e-tests

Enable SCRIPT_DEBUG on e2e tests
This commit is contained in:
Peter Fabian 2018-07-19 11:18:38 +02:00 committed by GitHub
commit a26530f84a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -175,6 +175,7 @@ install_e2e_site() {
php wp-cli.phar core config --dbname=$DB_NAME --dbuser=$DB_USER --dbpass=$DB_PASS --dbhost=$DB_HOST --dbprefix=wp_ --extra-php <<PHP
/* Change WP_MEMORY_LIMIT to increase the memory limit for public pages. */
define('WP_MEMORY_LIMIT', '256M');
define('SCRIPT_DEBUG', true);
PHP
php wp-cli.phar core install --url="$WP_SITE_URL" --title="Example" --admin_user=admin --admin_password=password --admin_email=info@example.com --path=$WP_CORE_DIR --skip-email
php wp-cli.phar db import $WP_DB_DATA