Skip to content

Commit

Permalink
Add WP_DEVELOPMENT_MODE to theme in phpunit bootstrap file
Browse files Browse the repository at this point in the history
  • Loading branch information
thelovekesh committed Jul 7, 2023
1 parent d00a239 commit 403af64
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/php/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

use Yoast\WPTestUtils\WPIntegration;

define( 'WP_DEVELOPMENT_MODE', 'theme' );
define( 'TESTS_PLUGIN_DIR', dirname( dirname( __DIR__ ) ) );

// When run in wp-env context, set the test config file path.
Expand Down

0 comments on commit 403af64

Please sign in to comment.