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

File

core/modules/path/tests/path_pattern.test, line 85
Functionality tests for automatic path generation.

Class

PathPatternTestHelper
Helper test class with some added functions for testing.

Code

function assertNoAliasExists($conditions) {
  $alias = path_load($conditions);
  $this->assertFalse($alias, format_string('Alias with conditions @conditions not found.', array('@conditions' => var_export($conditions, TRUE))));
}