1 path_pattern.test PathPatternTestHelper::assertAliasExists($conditions)

File

core/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;
}