1.20.x path_pattern.test | PathPatternTestHelper::assertAliasExists($conditions) |
File
- modules/
path/ tests/ path_pattern.test, line 79 - Functionality tests for automatic path generation.
Class
- PathPatternTestHelper
- Helper test class with some added functions for testing.
Code
function assertAliasExists($conditions) {
$path = path_load($conditions);
$this->assertTrue($path, format_string('Alias with conditions @conditions found.', array('@conditions' => var_export($conditions, TRUE))));
return $path;
}