public testLoadParentLocationDataForDraftContentAll ( $field, $value ) |
public function testLoadParentLocationDataForDraftContentAll($field, $value)
{
$this->insertDatabaseFixture(__DIR__ . '/_fixtures/full_example_tree.php');
$gateway = $this->getLocationGateway();
$locationsData = $gateway->loadParentLocationsDataForDraftContent(226);
$this->assertCount(1, $locationsData);
$locationRow = reset($locationsData);
$this->assertEquals($value, $locationRow[$field]);
}