File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ public function testEmail2FAHandleInvalidEmail(): void
9393 ]);
9494
9595 $ result ->assertRedirect ();
96- $ result ->assertEquals (site_url ('/auth/a/show ' ), $ result ->getRedirectUrl ());
96+ $ result ->assertSame (site_url ('/auth/a/show ' ), $ result ->getRedirectUrl ());
9797 $ result ->assertSessionHas ('error ' , lang ('Auth.invalidEmail ' ));
9898 }
9999
Original file line number Diff line number Diff line change @@ -122,10 +122,10 @@ public function testCheckCatchesAndRethrowsCurlExceptionAsAuthException(): void
122122 ->getMock ();
123123
124124 $ curlrequest ->method ('get ' )
125- ->will ( $ this -> throwException (HTTPException::forCurlError (
125+ ->willThrowException (HTTPException::forCurlError (
126126 '7 ' ,
127127 'Failed to connect '
128- ))) ;
128+ ));
129129 Services::injectMock ('curlrequest ' , $ curlrequest );
130130
131131 $ this ->expectException (AuthenticationException::class);
You can’t perform that action at this time.
0 commit comments