From 35b7339152430fad2e59ceb5ad4fe86432015cf7 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Mon, 14 Mar 2016 16:44:33 +0000 Subject: [PATCH] Ignore value of MW_PHPUNIT_TEST To match use of this constant everywhere else. Change-Id: Ia173b2b7217ffa8b924d9f164da89bd3b547c452 --- includes/AttributeManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); }