Skip to content

Commit 305c48c

Browse files
committed
Disable test due to the httpbin service issue
1 parent 275b9a1 commit 305c48c

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

tests/StatusCodeTest.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,17 @@ public function test_2xx_status_code()
2525
$this->assertTrue($created->isSuccessful());
2626
}
2727

28-
public function test_3xx_status_code()
29-
{
30-
$redirect = $this->httpClient()
31-
->get('redirect-to?url=https%3A%2F%2Fexample.com', [
32-
'allow_redirects' => false,
33-
]);
34-
35-
$this->assertEquals(302, $redirect->getStatusCode());
36-
$this->assertEquals(302, $redirect->status());
37-
$this->assertTrue($redirect->isRedirect());
38-
}
28+
// public function test_3xx_status_code()
29+
// {
30+
// $redirect = $this->httpClient()
31+
// ->get('redirect-to?url=https://example.com', [
32+
// 'allow_redirects' => false,
33+
// ]);
34+
35+
// $this->assertEquals(302, $redirect->getStatusCode());
36+
// $this->assertEquals(302, $redirect->status());
37+
// $this->assertTrue($redirect->isRedirect());
38+
// }
3939

4040
public function test_4xx_status_code()
4141
{

0 commit comments

Comments
 (0)