You are here

function PathautoPersistTestCase::assertNoAliasExists in Pathauto Persistent State 7

1 call to PathautoPersistTestCase::assertNoAliasExists()
PathautoPersistTestCase::assertNoEntityAliasExists in ./pathauto_persist.test

File

./pathauto_persist.test, line 60

Class

PathautoPersistTestCase
Tests for the pathauto_persist module.

Code

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