1 path_pattern.test | PathPatternTestHelper::assertNoEntityAliasExists($entity_type, $entity) |
File
- core/
modules/ path/ tests/ path_pattern.test, line 68 - Functionality tests for automatic path generation.
Class
- PathPatternTestHelper
- Helper test class with some added functions for testing.
Code
function assertNoEntityAliasExists($entity_type, $entity) {
$uri = entity_uri($entity_type, $entity);
$this->assertNoAliasExists(array('source' => $uri['path']));
}