diff core/modules/user/tests/src/Functional/UserTranslationUITest.php @ 18:af1871eacc83

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:33:08 +0100
parents c2387f117808
children
line wrap: on
line diff
--- a/core/modules/user/tests/src/Functional/UserTranslationUITest.php	Thu Feb 28 13:21:36 2019 +0000
+++ b/core/modules/user/tests/src/Functional/UserTranslationUITest.php	Thu May 09 15:33:08 2019 +0100
@@ -63,7 +63,7 @@
       // We only want to test the title for non-english translations.
       if ($langcode != 'en') {
         $options = ['language' => $languages[$langcode]];
-        $url = $entity->urlInfo('edit-form', $options);
+        $url = $entity->toUrl('edit-form', $options);
         $this->drupalGet($url);
 
         $title = t('@title [%language translation]', [