diff --git a/tests/src/Functional/LingotekDashboardTest.php b/tests/src/Functional/LingotekDashboardTest.php index aed289df..08d7711c 100644 --- a/tests/src/Functional/LingotekDashboardTest.php +++ b/tests/src/Functional/LingotekDashboardTest.php @@ -552,7 +552,7 @@ class LingotekDashboardTest extends LingotekTestBase { // One language added, there are missing translations. $this->drupalGet('admin/lingotek'); - $this->assertRaw(t('Missing translations for: @languages. See the Available translation updates page for more information.', ['@languages' => t('Spanish'), ':updates' => \Drupal::urlGenerator()->getPathFromRoute('locale.translate_status')]), 'Missing translations message'); + $this->assertRaw(t('Missing translations for: @languages. See the Available translation updates page for more information.', ['@languages' => t('Spanish'), ':updates' => \Drupal::urlGenerator()->generateFromRoute('locale.translate_status')]), 'Missing translations message'); // Override Drupal core translation status as 'up-to-date'. $status = locale_translation_get_status();