You are here

function PathautoPersistTestCase::assertAliasExists in Pathauto Persistent State 7

1 call to PathautoPersistTestCase::assertAliasExists()
PathautoPersistTestCase::assertEntityAliasExists in ./pathauto_persist.test

File

./pathauto_persist.test, line 54

Class

PathautoPersistTestCase
Tests for the pathauto_persist module.

Code

function assertAliasExists($conditions) {
  $path = path_load($conditions);
  $this
    ->assertTrue($path, t('Alias with conditions @conditions found.', array(
    '@conditions' => var_export($conditions, TRUE),
  )));
  return $path;
}