You are here

function PathautoTestHelper::assertNoAliasExists in Pathauto 6

Same name and namespace in other branches
  1. 6.2 pathauto.test \PathautoTestHelper::assertNoAliasExists()
  2. 7 pathauto.test \PathautoTestHelper::assertNoAliasExists()
3 calls to PathautoTestHelper::assertNoAliasExists()
PathautoTestHelper::assertNoEntityAliasExists 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 76
Functionality tests for Pathauto.

Class

PathautoTestHelper
Helper test class with some added functions for testing.

Code

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