public function testPublishUrlAliasForLocationUpdatesLocationPathIdentificationString()
{
$handler = $this->getHandler();
$locationGateway = $this->getLocationGateway();
$this->insertDatabaseFixture(__DIR__ . '/_fixtures/publish_base.php');
// Publishes the alias indicating that language is main, triggering updating of path_identification_string
$handler->publishUrlAliasForLocation(316, 315, 'TEST TEST TEST', 'eng-GB', false, true);
$locationData = $locationGateway->getBasicNodeData(316);
self::assertEquals('path314/path315/test_test_test', $locationData['path_identification_string']);
}