fix: #3567544 Alias lookup by path is not case sensitive but AliasPrefixList...
fix: #3567544 Alias lookup by path is not case sensitive but AliasPrefixList and AliasRepository::preloadPathAlias's return value is leading to inconsistencies
By: alexpott
By: catch
By: godotislate
$this->assertEquals($path_alias->getAlias(),$aliasManager->getAliasByPath($path_alias->getPath()),'Basic alias lookup works.');
$this->assertEquals($path_alias->getAlias(),$aliasManager->getAliasByPath(strtoupper($path_alias->getPath())),'Basic alias lookup is case-insensitive.');
// Ensure that ::getPathByAlias() returns the stored path and not the user
// provided path if path with a different case was looked up first.
$aliasManager->cacheClear();
$this->assertEquals($path_alias->getAlias(),$aliasManager->getAliasByPath(strtoupper($path_alias->getPath())),'Basic alias lookup is case-insensitive.');
$this->assertEquals($path_alias->getAlias(),$aliasManager->getAliasByPath($path_alias->getPath()),'Basic alias lookup works.');