Changeset 1164 in tests
- Timestamp:
- 12/06/2012 01:53:34 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
includes/bootstrap.php (modified) (2 diffs)
-
wp-tests-config-sample.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/bootstrap.php
r1101 r1164 4 4 */ 5 5 6 error_reporting( E_ALL & ~E_DEPRECATED & ~E_STRICT );7 6 8 7 require_once 'PHPUnit/Autoload.php'; … … 25 24 } 26 25 require_once $config_file_path; 26 27 if ( defined( 'WP_TESTS_ERROR_REPORTING' ) ) { 28 error_reporting( WP_TESTS_ERROR_REPORTING ); 29 } else { 30 error_reporting( E_ALL & ~E_DEPRECATED & ~E_STRICT ); 31 } 27 32 28 33 define( 'DIR_TESTDATA', dirname( __FILE__ ) . '/../data' ); -
trunk/wp-tests-config-sample.php
r945 r1164 9 9 // Force known bugs: (previously -f) 10 10 // define( 'WP_TESTS_FORCE_KNOWN_BUGS', true ); 11 12 // error_reporting() level. 13 // If not set, test suite disables E_STRICT and E_DEPRECATED. 14 // define( 'WP_TESTS_ERROR_REPORTING', error_reporting() ); 11 15 12 16 // Test with WordPress debug mode on (previously -d)
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)