diff --git a/core/modules/views/src/Tests/Wizard/BasicTest.php b/core/modules/views/src/Tests/Wizard/BasicTest.php index aa4fc34..a8eedf2 100644 --- a/core/modules/views/src/Tests/Wizard/BasicTest.php +++ b/core/modules/views/src/Tests/Wizard/BasicTest.php @@ -26,7 +26,7 @@ function testViewsWizardAndListing() { // Check if we can access the main views admin page. $this->drupalGet('admin/structure/views'); - $this->assertText(t('Add new view')); + $this->assertText(t('Add view')); // Create a simple and not at all useful view. $view1 = array(); diff --git a/core/modules/views_ui/src/Tests/ViewsListTest.php b/core/modules/views_ui/src/Tests/ViewsListTest.php index eb456e3..768e449 100644 --- a/core/modules/views_ui/src/Tests/ViewsListTest.php +++ b/core/modules/views_ui/src/Tests/ViewsListTest.php @@ -46,7 +46,7 @@ public function testViewsListLimit() { // Check if we can access the main views admin page. $this->drupalGet('admin/structure/views'); $this->assertResponse(200); - $this->assertLink(t('Add new view')); + $this->assertLink(t('Add view')); // Count default views to be subtracted from the limit. $views = count(Views::getEnabledViews());