You are here

function PathautoPersistTestCase::assertEntityAliasExists in Pathauto Persistent State 7

File

./pathauto_persist.test, line 29

Class

PathautoPersistTestCase
Tests for the pathauto_persist module.

Code

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