Skip to content

Commit bed19e9

Browse files
committed
test: fix if condition so that it doesn't rely on an environment variable to determine if we're running the test suite
1 parent 72cd6ef commit bed19e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

development.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* @package ThemeIsle
66
*/
7-
if ( ! empty( getenv( 'WP_TESTS_DIR' ) ) ) {
7+
if ( defined( 'PHPUNIT_COMPOSER_INSTALL' ) ) {
88
return;
99
}
1010

0 commit comments

Comments
 (0)