You are here

function PathautoTestHelper::assertNoAliasExists in Pathauto 7

Same name and namespace in other branches
  1. 6.2 pathauto.test \PathautoTestHelper::assertNoAliasExists()
  2. 6 pathauto.test \PathautoTestHelper::assertNoAliasExists()
3 calls to PathautoTestHelper::assertNoAliasExists()
PathautoTestHelper::assertNoEntityAliasExists in ./pathauto.test
PathautoUnitTestCase::testPathDeleteMultiple in ./pathauto.test
Test pathauto_path_delete_multiple().
PathautoUnitTestCase::testUpdateActions in ./pathauto.test
Test the different update actions in pathauto_create_alias().

File

./pathauto.test, line 79
Functionality tests for Pathauto.

Class

PathautoTestHelper
Helper test class with some added functions for testing.

Code

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