diff options
author | Aaron Schulz <aschulz@wikimedia.org> | 2018-04-13 14:16:39 -0700 |
---|---|---|
committer | Aaron Schulz <aschulz@wikimedia.org> | 2018-04-13 14:16:39 -0700 |
commit | 3b58b6d14388fe9b534ab72f9cd0e4d0014fefdd (patch) | |
tree | 2f80de5f7f50e961d09b24811e0babc857328161 /tests/phpunit | |
parent | 93a531f935febc0d2f1c143ddef815a5ccf1a87b (diff) | |
download | mediawikicore-3b58b6d14388fe9b534ab72f9cd0e4d0014fefdd.tar.gz mediawikicore-3b58b6d14388fe9b534ab72f9cd0e4d0014fefdd.zip |
Fix testGetMap_twoValues() failures for sqlite
Change-Id: I3f42208d8e42ba923d4b08bb7efe15f871165899
Diffstat (limited to 'tests/phpunit')
-rw-r--r-- | tests/phpunit/includes/Storage/NameTableStoreTest.php | 2 |
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 ); |