You are here

public function PathautoKernelTest::testGetSchemaAliasMaxLength in Pathauto 8

Test _pathauto_get_schema_alias_maxlength().

File

tests/src/Kernel/PathautoKernelTest.php, line 76

Class

PathautoKernelTest
Unit tests for Pathauto functions.

Namespace

Drupal\Tests\pathauto\Kernel

Code

public function testGetSchemaAliasMaxLength() {
  $this
    ->assertSame(\Drupal::service('pathauto.alias_storage_helper')
    ->getAliasSchemaMaxlength(), 255);
}