diff --git a/includes/AttributeManager.php b/includes/AttributeManager.php index d0a4441d6..b4b791359 100644 --- a/includes/AttributeManager.php +++ b/includes/AttributeManager.php @@ -62,7 +62,7 @@ class EchoAttributeManager { global $wgEchoNotifications, $wgEchoNotificationCategories; // Unit test may alter the global data for test purpose - if ( defined( 'MW_PHPUNIT_TEST' ) && MW_PHPUNIT_TEST ) { + if ( defined( 'MW_PHPUNIT_TEST' ) ) { return new self( $wgEchoNotifications, $wgEchoNotificationCategories ); }