Skip to content

Commit

Permalink
removed unnecesary assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarotero committed Jan 27, 2018
1 parent 8b8f6fd commit 2de0fba
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/ShutdownTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ public function testRetryAfter($duration, string $header)
(new Shutdown())->retryAfter($duration),
]);

$this->assertInstanceOf('Psr\\Http\\Message\\ResponseInterface', $response);
$this->assertEquals(503, $response->getStatusCode());
$this->assertEquals($header, $response->getHeaderLine('Retry-After'));
$this->assertNotFalse(strpos((string) $response->getBody(), 'Site under maintenance'));
Expand Down

0 comments on commit 2de0fba

Please sign in to comment.