1.20.x path_pattern.test PathPatternTestHelper::assertNoEntityAlias($entity_type, $entity, $language = LANGUAGE_NONE)

File

modules/path/tests/path_pattern.test, line 63
Functionality tests for automatic path generation.

Class

PathPatternTestHelper
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);
}