Skip to content

Commit

Permalink
Add WP_DEBUG_LOG constant to generated tests config
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsternberg committed Feb 14, 2015
1 parent 62efc5f commit fdb12ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/bin/install-wp-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ install_test_suite() {

wget -nv -O wp-tests-config.php http://develop.svn.wordpress.org/trunk/wp-tests-config-sample.php
sed $ioption "s:dirname( __FILE__ ) . '/src/':'$WP_CORE_DIR':" wp-tests-config.php
sed $ioption "s:define( 'WP_DEBUG', true );:define( 'WP_DEBUG', true ); define( 'WP_DEBUG_LOG', true );:" wp-tests-config.php
sed $ioption "s/youremptytestdbnamehere/$DB_NAME/" wp-tests-config.php
sed $ioption "s/yourusernamehere/$DB_USER/" wp-tests-config.php
sed $ioption "s/yourpasswordhere/$DB_PASS/" wp-tests-config.php
Expand Down

0 comments on commit fdb12ce

Please sign in to comment.