diff --git a/core/modules/system/src/Tests/Session/SessionAuthenticationTest.php b/core/modules/system/src/Tests/Session/SessionAuthenticationTest.php index 1462f4f..59db054 100644 --- a/core/modules/system/src/Tests/Session/SessionAuthenticationTest.php +++ b/core/modules/system/src/Tests/Session/SessionAuthenticationTest.php @@ -95,7 +95,7 @@ public function testLoginWithBasicAuthCredentials() { // Let's send some basic_auth authentication headers, but that particular // route does not have basic_auth authentications. - $this->basicAuthGet($this->user->urlInfo()); + $this->basicAuthGet($this->user->urlInfo(), $this->user->getUsername(), $this->user->pass_raw); $this->assertResponse(403); // Now change the default global authentication providers to also include @@ -121,7 +121,7 @@ public function testLoginWithBasicAuthCredentials() { YamlFileLoader::reset(); $kernel->rebuildContainer(); - $this->basicAuthGet($this->user->urlInfo()); + $this->basicAuthGet($this->user->urlInfo(), $this->user->getUsername(), $this->user->pass_raw); $this->assertResponse(200); } @@ -129,7 +129,7 @@ public function testLoginWithBasicAuthCredentials() { * Tests HTTP requests with basic authentication. */ public function testRequestWithBasicAuthCredentials() { - $result = $this->basicAuthGet('session-test/get-session'); + $result = $this->basicAuthGet('session-test/get-session', $this->user->getUsername(), $this->user->pass_raw); $this->assertResponse(200); $data = json_decode($result); $this->assertEqual([], $data->session);