function PathautoTestHelper::assertAliasExists in Pathauto 6
Same name and namespace in other branches
- 6.2 pathauto.test \PathautoTestHelper::assertAliasExists()
- 7 pathauto.test \PathautoTestHelper::assertAliasExists()
4 calls to PathautoTestHelper::assertAliasExists()
- PathautoLocaleTestCase::testLanguageAliases in ./
pathauto.test - Test that when an English node is updated, its old English alias is updated and its newer French alias is left intact.
- PathautoTestHelper::assertEntityAliasExists in ./
pathauto.test - PathautoUnitTestCase::testFeedAliases in ./
pathauto.test - Test the feed alias functionality of pathauto_create_alias().
- PathautoUnitTestCase::testUpdateActions in ./
pathauto.test - Test the different update actions in pathauto_create_alias().
File
- ./
pathauto.test, line 70 - Functionality tests for Pathauto.
Class
- PathautoTestHelper
- Helper test class with some added functions for testing.
Code
function assertAliasExists($conditions) {
$path = $this
->path_load($conditions);
$this
->assertTrue($path, t('Alias with conditions @conditions found.', array(
'@conditions' => var_export($conditions, TRUE),
)));
return $path;
}