Problem/Motivation
Follow-up for #2575869-70: Remove all remaining usage of deprecated UrlGeneratorInterface::generateFromPath() and delete it.
+++ b/core/modules/simpletest/src/BrowserTestBase.php
@@ -412,7 +412,7 @@ protected function drupalGet($path, array $options = array()) {
+ $url = Url::fromUri('base:/' . $path, $options)->toString();
+++ b/core/modules/simpletest/tests/src/Functional/BrowserTestBaseTest.php
@@ -34,7 +34,7 @@ public function testGoTo() {
- $this->drupalGet('/test-page');
@@ -46,7 +46,7 @@ public function testGoTo() {
- $this->drupalGet('/form-test/object-builder');
@larowlan:
Instead of changing the ->drupalGet calls, could we just use ltrim($path, '/') in drupalGet method