You are here

function PathautoTestHelper::assertNoEntityAliasExists in Pathauto 6

Same name and namespace in other branches
  1. 6.2 pathauto.test \PathautoTestHelper::assertNoEntityAliasExists()
  2. 7 pathauto.test \PathautoTestHelper::assertNoEntityAliasExists()

File

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

Class

PathautoTestHelper
Helper test class with some added functions for testing.

Code

function assertNoEntityAliasExists($entity_type, $entity) {
  $uri = $this
    ->entity_uri($entity_type, $entity);
  $this
    ->assertNoAliasExists(array(
    'source' => $uri['path'],
  ));
}