Loading tests/src/Functional/AdministerusersbyroleTest.php +2 −2 Original line number Diff line number Diff line Loading @@ -257,10 +257,10 @@ class AdministerusersbyroleTest extends BrowserTestBase { $this->drupalGet("admin/people/create"); $expectedResult = $v; if ($expectedResult) { $this->assertRaw('<h1 class="page-title">Add user</h1>'); $assert->responseContains('<h1 class="page-title">Add user</h1>'); } else { $this->assertRaw('You are not authorized to access this page.'); $assert->responseContains('You are not authorized to access this page.'); } } else { Loading Loading
tests/src/Functional/AdministerusersbyroleTest.php +2 −2 Original line number Diff line number Diff line Loading @@ -257,10 +257,10 @@ class AdministerusersbyroleTest extends BrowserTestBase { $this->drupalGet("admin/people/create"); $expectedResult = $v; if ($expectedResult) { $this->assertRaw('<h1 class="page-title">Add user</h1>'); $assert->responseContains('<h1 class="page-title">Add user</h1>'); } else { $this->assertRaw('You are not authorized to access this page.'); $assert->responseContains('You are not authorized to access this page.'); } } else { Loading