Change-Id: I3f42208d8e42ba923d4b08bb7efe15f871165899
'name' => $this->nameField
],
[],
'name' => $this->nameField
],
[],
+ __METHOD__,
+ [ 'ORDER BY' => 'id' ]
$store->getMap();
$table = $store->getMap();
$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 );
$this->assertSame( $expected, $table );
// Make sure the table returned is the same as the cached table
$this->assertSame( $expected, TestingAccessWrapper::newFromObject( $store )->tableCache );