public function LanguageNeutralAliasesStorageTest::testGetAliasesForAdminListing in Language neutral aliases 8
Test that getAliasesForAdminListing only lists language neutral aliases.
File
- tests/
src/ Kernel/ LanguageNeutralAliasesStorageTest.php, line 248
Class
- LanguageNeutralAliasesStorageTest
- Test language neutral aliases.
Namespace
Drupal\Tests\language_neutral_aliases\KernelCode
public function testGetAliasesForAdminListing() {
$storage = $this->container
->get('path.alias_storage');
// If it filters out non-language neutral aliases, it should only return one
// item.
$this
->assertCount(1, $storage
->getAliasesForAdminListing([], ''));
}