From 0f19a8e77142d5ff5b00ffc5df66d535277613ee Mon Sep 17 00:00:00 2001 From: Reedy Date: Sun, 7 Feb 2016 21:22:53 +0000 Subject: [PATCH] Remove duplicate array keys from tests Change-Id: I437b87151be6589a8d5c984b90cd249c2d0ecd3c --- tests/phpunit/includes/resourceloader/ResourceLoaderTest.php | 1 - tests/phpunit/includes/session/SessionManagerTest.php | 1 - 2 files changed, 2 deletions(-) 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() ); -- 2.20.1