aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/Storage/NameTableStoreTest.php
diff options
context:
space:
mode:
authorAaron Schulz <aschulz@wikimedia.org>2018-04-13 14:16:39 -0700
committerAaron Schulz <aschulz@wikimedia.org>2018-04-13 14:16:39 -0700
commit3b58b6d14388fe9b534ab72f9cd0e4d0014fefdd (patch)
tree2f80de5f7f50e961d09b24811e0babc857328161 /tests/phpunit/includes/Storage/NameTableStoreTest.php
parent93a531f935febc0d2f1c143ddef815a5ccf1a87b (diff)
downloadmediawikicore-3b58b6d14388fe9b534ab72f9cd0e4d0014fefdd.tar.gz
mediawikicore-3b58b6d14388fe9b534ab72f9cd0e4d0014fefdd.zip
Fix testGetMap_twoValues() failures for sqlite
Change-Id: I3f42208d8e42ba923d4b08bb7efe15f871165899
Diffstat (limited to 'tests/phpunit/includes/Storage/NameTableStoreTest.php')
-rw-r--r--tests/phpunit/includes/Storage/NameTableStoreTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/phpunit/includes/Storage/NameTableStoreTest.php b/tests/phpunit/includes/Storage/NameTableStoreTest.php
index 5276a140f604..0cd164b76ff3 100644
--- a/tests/phpunit/includes/Storage/NameTableStoreTest.php
+++ b/tests/phpunit/includes/Storage/NameTableStoreTest.php
@@ -257,7 +257,7 @@ class NameTableStoreTest extends MediaWikiTestCase {
$store->getMap();
$table = $store->getMap();
- $expected = [ 2 => 'bar', 1 => 'foo' ];
+ $expected = [ 1 => 'foo', 2 => 'bar' ];
$this->assertSame( $expected, $table );
// Make sure the table returned is the same as the cached table
$this->assertSame( $expected, TestingAccessWrapper::newFromObject( $store )->tableCache );