function PathautoTestHelper::assertEntityAliasExists in Pathauto 6
Same name and namespace in other branches
- 6.2 pathauto.test \PathautoTestHelper::assertEntityAliasExists()
- 7 pathauto.test \PathautoTestHelper::assertEntityAliasExists()
File
- ./
pathauto.test, line 49 - Functionality tests for Pathauto.
Class
- PathautoTestHelper
- Helper test class with some added functions for testing.
Code
function assertEntityAliasExists($entity_type, $entity) {
$uri = $this
->entity_uri($entity_type, $entity);
return $this
->assertAliasExists(array(
'source' => $uri['path'],
));
}