You are here

function PathautoTestHelper::assertEntityAliasExists in Pathauto 6.2

Same name and namespace in other branches
  1. 6 pathauto.test \PathautoTestHelper::assertEntityAliasExists()
  2. 7 pathauto.test \PathautoTestHelper::assertEntityAliasExists()
1 call to PathautoTestHelper::assertEntityAliasExists()
PathautoBulkUpdateTestCase::testBulkUpdate in ./pathauto.test

File

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

Class

PathautoTestHelper
Helper test class with some added functions for testing.

Code

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