only in patch2: unchanged: --- a/core/modules/config/src/Tests/ConfigSingleImportExportTest.php +++ b/core/modules/config/src/Tests/ConfigSingleImportExportTest.php @@ -134,7 +134,7 @@ public function testImportSimpleConfiguration() { $this->drupalPostForm('admin/config/development/configuration/single/import', $edit, t('Import')); $this->assertRaw(t('Are you sure you want to update the %name @type?', array('%name' => $config->getName(), '@type' => 'simple configuration'))); $this->drupalPostForm(NULL, array(), t('Confirm')); - $this->drupalGet('/'); + $this->drupalGet(''); $this->assertText('Test simple import'); } only in patch2: unchanged: --- a/core/modules/config_translation/src/Tests/ConfigTranslationUiTest.php +++ b/core/modules/config_translation/src/Tests/ConfigTranslationUiTest.php @@ -326,7 +326,7 @@ public function testContactConfigEntityTranslation() { foreach ($this->langcodes as $langcode) { $langcode_prefixes = array_merge(array(''), $this->langcodes); foreach ($langcode_prefixes as $langcode_prefix) { - $this->drupalGet(ltrim("$langcode_prefix/$translation_base_url/$langcode/edit")); + $this->drupalGet(ltrim("$langcode_prefix/$translation_base_url/$langcode/edit", '/')); $this->assertFieldByName('translation[config_names][contact.form.feedback][label]', 'Website feedback - ' . $langcode); $this->assertText($label); } only in patch2: unchanged: --- a/core/modules/contact/src/Tests/ContactPersonalTest.php +++ b/core/modules/contact/src/Tests/ContactPersonalTest.php @@ -86,7 +86,7 @@ function testSendPersonalContactMessage() { $this->drupalLogout(); $this->drupalLogin($this->adminUser); // Verify that the correct watchdog message has been logged. - $this->drupalGet('/admin/reports/dblog'); + $this->drupalGet('admin/reports/dblog'); $placeholders = array( '@sender_name' => $this->webUser->username, '@sender_email' => $this->webUser->getEmail(), only in patch2: unchanged: --- a/core/modules/forum/src/Tests/ForumTest.php +++ b/core/modules/forum/src/Tests/ForumTest.php @@ -108,7 +108,7 @@ protected function setUp() { */ function testForum() { //Check that the basic forum install creates a default forum topic - $this->drupalGet('/forum'); + $this->drupalGet('forum'); // Look for the "General discussion" default forum $this->assertRaw(t('General discussion'), "Found the default forum at the /forum listing"); only in patch2: unchanged: --- a/core/modules/system/src/Tests/ParamConverter/UpcastingTest.php +++ b/core/modules/system/src/Tests/ParamConverter/UpcastingTest.php @@ -76,7 +76,7 @@ public function testEntityLanguage() { $translation = $node->addTranslation('de'); $translation->setTitle('Deutscher Titel')->save(); - $this->drupalGet("/paramconverter_test/node/" . $node->id() . "/test_language"); + $this->drupalGet("paramconverter_test/node/" . $node->id() . "/test_language"); $this->assertRaw("English label"); $this->drupalGet("paramconverter_test/node/" . $node->id() . "/test_language", array('language' => $language)); $this->assertRaw("Deutscher Titel"); only in patch2: unchanged: --- a/core/modules/system/src/Tests/Routing/RouterTest.php +++ b/core/modules/system/src/Tests/Routing/RouterTest.php @@ -119,7 +119,7 @@ public function testDynamicRoutes() { * Checks that a request with text/html response gets rendered as a page. */ public function testControllerResolutionPage() { - $this->drupalGet('/router_test/test10'); + $this->drupalGet('router_test/test10'); $this->assertRaw('abcde', 'Correct body was found.'); @@ -180,7 +180,7 @@ public function testUserAccount() { public function testControllerResolutionAjax() { // This will fail with a JSON parse error if the request is not routed to // The correct controller. - $this->drupalGetAJAX('/router_test/test10'); + $this->drupalGetAJAX('router_test/test10'); $this->assertEqual($this->drupalGetHeader('Content-Type'), 'application/json', 'Correct mime content type was returned'); only in patch2: unchanged: --- a/core/modules/toolbar/src/Tests/ToolbarAdminMenuTest.php +++ b/core/modules/toolbar/src/Tests/ToolbarAdminMenuTest.php @@ -449,7 +449,7 @@ function testSubtreesJsonRequest() { $this->drupalPostForm('admin/config/regional/language/add', $edit, t('Add custom language')); // Get a page with the new language langcode in the URL. - $this->drupalGet('/xx/test-page'); + $this->drupalGet('xx/test-page'); // Request a new page to refresh the drupalSettings object. $subtrees_hash = $this->getSubtreesHash(); @@ -474,7 +474,7 @@ function testLanguageSwitching() { $this->drupalPostForm('admin/config/regional/language/add', $edit, t('Add custom language')); // Get a page with the new language langcode in the URL. - $this->drupalGet('/xx/test-page'); + $this->drupalGet('xx/test-page'); // Assert different hash. $new_subtree_hash = $this->getSubtreesHash();