Commit 658de156 authored by Adam Shepherd's avatar Adam Shepherd
Browse files

Issue #3263681 by AdamPS: Fix deprecation warnings in tests

parent 1f416a9f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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 {