From: Reedy Date: Sun, 7 Feb 2016 21:22:53 +0000 (+0000) Subject: Remove duplicate array keys from tests X-Git-Tag: 1.31.0-rc.0~8065^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/modifier.php?a=commitdiff_plain;h=0f19a8e77142d5ff5b00ffc5df66d535277613ee;p=lhc%2Fweb%2Fwiklou.git Remove duplicate array keys from tests Change-Id: I437b87151be6589a8d5c984b90cd249c2d0ecd3c --- diff --git a/tests/phpunit/includes/resourceloader/ResourceLoaderTest.php b/tests/phpunit/includes/resourceloader/ResourceLoaderTest.php index b6838859c9..9ef2588b57 100644 --- a/tests/phpunit/includes/resourceloader/ResourceLoaderTest.php +++ b/tests/phpunit/includes/resourceloader/ResourceLoaderTest.php @@ -206,7 +206,6 @@ mw.example(); 'styles' => array(), 'messages' => new XmlJsCode( '{}' ), 'templates' => array(), - 'title' => 'scripts, styles and messags', 'expected' => 'mw.loader.implement( "test.example", function ( $, jQuery ) { mw.example(); diff --git a/tests/phpunit/includes/session/SessionManagerTest.php b/tests/phpunit/includes/session/SessionManagerTest.php index d8d5b4b5fb..d78e2b5ce7 100644 --- a/tests/phpunit/includes/session/SessionManagerTest.php +++ b/tests/phpunit/includes/session/SessionManagerTest.php @@ -596,7 +596,6 @@ class SessionManagerTest extends MediaWikiTestCase { 'Bar' => array( 'X', 'Bar1', 3 => 'Bar2' ), 'Quux' => array( 'Quux' ), 'Baz' => array(), - 'Quux' => array( 'Quux' ), ); $this->assertEquals( $expect, $manager->getVaryHeaders() );