From 403af64b63ceca4281b67233ee0b2a02245cc892 Mon Sep 17 00:00:00 2001 From: thelovekesh Date: Fri, 7 Jul 2023 21:58:02 +0530 Subject: [PATCH] Add WP_DEVELOPMENT_MODE to theme in phpunit bootstrap file --- tests/php/bootstrap.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/php/bootstrap.php b/tests/php/bootstrap.php index c3307a4bdda..6544797f06a 100644 --- a/tests/php/bootstrap.php +++ b/tests/php/bootstrap.php @@ -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.