You are here

function PathautoTestHelper::assertNoEntityAlias in Pathauto 7

Same name and namespace in other branches
  1. 6.2 pathauto.test \PathautoTestHelper::assertNoEntityAlias()
  2. 6 pathauto.test \PathautoTestHelper::assertNoEntityAlias()
2 calls to PathautoTestHelper::assertNoEntityAlias()
PathautoFunctionalTestCase::testNodeEditing in ./pathauto.test
Basic functional testing of Pathauto.
PathautoFunctionalTestCase::testNodeState in ./pathauto.test
@todo Merge this with existing node test methods?

File

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

Class

PathautoTestHelper
Helper test class with some added functions for testing.

Code

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