diff --git a/core/modules/forum/lib/Drupal/forum/Tests/ForumNodeAccessTest.php b/core/modules/forum/lib/Drupal/forum/Tests/ForumNodeAccessTest.php index 5ad396a..f9ee1e3 100644 --- a/core/modules/forum/lib/Drupal/forum/Tests/ForumNodeAccessTest.php +++ b/core/modules/forum/lib/Drupal/forum/Tests/ForumNodeAccessTest.php @@ -91,7 +91,7 @@ class ForumNodeAccessTest extends WebTestBase { // Test for $access_user. $this->drupalLogin($access_user); - $this->drupalGet('/'); + $this->drupalGet(''); // Ensure private node and public node are found. $this->assertText($private_node->title, 'Private node found in block by $access_user'); @@ -99,7 +99,7 @@ class ForumNodeAccessTest extends WebTestBase { // Test for $no_access_user. $this->drupalLogin($no_access_user); - $this->drupalGet('/'); + $this->drupalGet(''); // Ensure private node is not found but public is found. $this->assertNoText($private_node->title, 'Private node not found in block by $no_access_user'); diff --git a/core/modules/path/lib/Drupal/path/Tests/PathAliasTest.php b/core/modules/path/lib/Drupal/path/Tests/PathAliasTest.php index dcaf945..b1d3077 100644 --- a/core/modules/path/lib/Drupal/path/Tests/PathAliasTest.php +++ b/core/modules/path/lib/Drupal/path/Tests/PathAliasTest.php @@ -51,7 +51,8 @@ class PathAliasTest extends PathTestBase { // Visit the system path for the node and confirm a cache entry is // created. cache('path')->flush(); - $this->drupalGet($edit['source']); + // Make sure the path is not converted to the alias. + $this->drupalGet($edit['source'], array('alias' => TRUE)); $this->assertTrue(cache('path')->get($edit['source']), t('Cache entry was created.')); // Visit the alias for the node and confirm a cache entry is created.