Skip to content

Commit

Permalink
Only update test domain
Browse files Browse the repository at this point in the history
Use a more specific replacement pattern, otherwise we'll also update the email address, but an email with an IP and port number isn't valid and so the network isn't installed properly then.

See #1
  • Loading branch information
JDGrimes committed Nov 22, 2016
1 parent 0b77d4c commit 4dfa3a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion travis.sh
Expand Up @@ -20,7 +20,7 @@ install-wordpress() {
mysql -e 'CREATE DATABASE wordpress_test;' -uroot

# Configure WordPress for access through a web server.
sed -i "s/example.org/$WP_CEPT_SERVER/" wp-config.php
sed -i "s/'example.org'/'$WP_CEPT_SERVER'/" wp-config.php

# Install.
php tests/phpunit/includes/install.php wp-config.php "$WP_MULTISITE"
Expand Down

0 comments on commit 4dfa3a3

Please sign in to comment.