You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -425,7 +425,7 @@ public function testFollowRedirect()
425
425
$client->followRedirect();
426
426
$this->fail('->followRedirect() throws a \LogicException if the request did not respond with 30x HTTP Code');
427
427
} catch (\Exception$e) {
428
-
$this->assertInstanceOf('LogicException', $e, '->followRedirect() throws a \LogicException if the request did not respond with 30x HTTP Code');
428
+
$this->assertInstanceOf(\LogicException::class, $e, '->followRedirect() throws a \LogicException if the request did not respond with 30x HTTP Code');
429
429
}
430
430
}
431
431
@@ -455,7 +455,7 @@ public function testFollowRedirectWithMaxRedirects()
455
455
$client->followRedirect();
456
456
$this->fail('->followRedirect() throws a \LogicException if the request was redirected and limit of redirections was reached');
457
457
} catch (\Exception$e) {
458
-
$this->assertInstanceOf('LogicException', $e, '->followRedirect() throws a \LogicException if the request was redirected and limit of redirections was reached');
458
+
$this->assertInstanceOf(\LogicException::class, $e, '->followRedirect() throws a \LogicException if the request was redirected and limit of redirections was reached');
0 commit comments