Index: branches/JSTesting/includes/resourceloader/ResourceLoader.php |
— | — | @@ -275,7 +275,7 @@ |
276 | 276 | public function registerTestModules() { |
277 | 277 | global $IP, $wgEnableJavaScriptTest; |
278 | 278 | |
279 | | - if ( $wgEnableJavaScriptTest === false ) { |
| 279 | + if ( $wgEnableJavaScriptTest !== true ) { |
280 | 280 | throw new MWException( 'Attempt to register JavaScript test modules but <tt>$wgEnableJavaScriptTest</tt> is false. Edit your <tt>LocalSettings.php</tt> to enable it.' ); |
281 | 281 | } |
282 | 282 | |