diff --git a/core/modules/basic_auth/src/Tests/Authentication/BasicAuthTest.php b/core/modules/basic_auth/src/Tests/Authentication/BasicAuthTest.php index 227f11a4c0364b2b26e06aec848a35264fbca0d8..13c74df6af5569da7e615c3edbfa83f13b224989 100644 --- a/core/modules/basic_auth/src/Tests/Authentication/BasicAuthTest.php +++ b/core/modules/basic_auth/src/Tests/Authentication/BasicAuthTest.php @@ -53,7 +53,7 @@ public function testBasicAuth() { $account = $this->drupalCreateUser(array('access administration pages')); $this->basicAuthGet(Url::fromRoute('system.admin'), $account->getUsername(), $account->pass_raw); - $this->assertNoLink('Log out', 0, 'User is not logged in'); + $this->assertNoLink('Log out', 'User is not logged in'); $this->assertResponse('403', 'No basic authentication for routes not explicitly defining authentication providers.'); $this->curlClose(); } diff --git a/core/modules/views_ui/src/Tests/DisplayCRUDTest.php b/core/modules/views_ui/src/Tests/DisplayCRUDTest.php index 9b011cf67fe4eacd448904b94c8b187560b27375..67f21dcd0370ceb033f3ea2c6973de9bc3a820fd 100644 --- a/core/modules/views_ui/src/Tests/DisplayCRUDTest.php +++ b/core/modules/views_ui/src/Tests/DisplayCRUDTest.php @@ -47,7 +47,7 @@ public function testAddDisplay() { $this->drupalPostForm(NULL, array(), 'Add Page'); $this->assertLinkByHref($path_prefix . '/page_1', 0, 'Make sure after adding a display the new display appears in the UI'); - $this->assertNoLink('Master*', 0, 'Make sure the master display is not marked as changed.'); + $this->assertNoLink('Master*', 'Make sure the master display is not marked as changed.'); $this->assertLink('Page*', 0, 'Make sure the added display is marked as changed.'); $this->drupalPostForm("admin/structure/views/nojs/display/{$view['id']}/page_1/path", array('path' => 'test/path'), t('Apply'));