Reedy has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/269051

Change subject: Remove duplicate array keys from tests
......................................................................

Remove duplicate array keys from tests

Change-Id: I437b87151be6589a8d5c984b90cd249c2d0ecd3c
---
M tests/phpunit/includes/resourceloader/ResourceLoaderTest.php
M tests/phpunit/includes/session/SessionManagerTest.php
2 files changed, 0 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/51/269051/1

diff --git a/tests/phpunit/includes/resourceloader/ResourceLoaderTest.php 
b/tests/phpunit/includes/resourceloader/ResourceLoaderTest.php
index b683885..9ef2588 100644
--- a/tests/phpunit/includes/resourceloader/ResourceLoaderTest.php
+++ b/tests/phpunit/includes/resourceloader/ResourceLoaderTest.php
@@ -206,7 +206,6 @@
                                '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 d8d5b4b..d78e2b5 100644
--- a/tests/phpunit/includes/session/SessionManagerTest.php
+++ b/tests/phpunit/includes/session/SessionManagerTest.php
@@ -596,7 +596,6 @@
                        'Bar' => array( 'X', 'Bar1', 3 => 'Bar2' ),
                        'Quux' => array( 'Quux' ),
                        'Baz' => array(),
-                       'Quux' => array( 'Quux' ),
                );
 
                $this->assertEquals( $expect, $manager->getVaryHeaders() );

-- 
To view, visit https://gerrit.wikimedia.org/r/269051
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I437b87151be6589a8d5c984b90cd249c2d0ecd3c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Reedy <re...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to