You are here

function PathautoPersistTestCase::assertNoEntityAlias in Pathauto Persistent State 7

1 call to PathautoPersistTestCase::assertNoEntityAlias()
PathautoPersistTestCase::testNodeAPI in ./pathauto_persist.test

File

./pathauto_persist.test, line 34

Class

PathautoPersistTestCase
Tests for the pathauto_persist module.

Code

function assertNoEntityAlias($entity_type, $entity, $language = LANGUAGE_NONE) {
  $uri = entity_uri($entity_type, $entity);
  $this
    ->assertEntityAlias($entity_type, $entity, $uri['path'], $language);
}