Skip to content
Snippets Groups Projects

Replace use of whitelist/blacklist in the path alias module

Closed quietone requested to merge issue/drupal-3151086:3151086-replace-use-of into 11.x
Files
11
@@ -67,9 +67,9 @@ public function testPathCache(): void {
$this->submitForm($edit, 'Save');
// Check the path alias whitelist cache.
$whitelist = \Drupal::cache('bootstrap')->get('path_alias_whitelist');
$this->assertTrue($whitelist->data['node']);
$this->assertFalse($whitelist->data['admin']);
$prefix_list = \Drupal::cache('bootstrap')->get('path_alias_prefix_list');
$this->assertTrue($prefix_list->data['node']);
$this->assertFalse($prefix_list->data['admin']);
// Visit the system path for the node and confirm a cache entry is
// created.
Loading