updated packages
This commit is contained in:
@@ -9,14 +9,14 @@ class ServiceUnavailableHttpExceptionTest extends HttpExceptionTest
|
||||
public function testHeadersDefaultRetryAfter()
|
||||
{
|
||||
$exception = new ServiceUnavailableHttpException(10);
|
||||
$this->assertSame(array('Retry-After' => 10), $exception->getHeaders());
|
||||
$this->assertSame(['Retry-After' => 10], $exception->getHeaders());
|
||||
}
|
||||
|
||||
public function testWithHeaderConstruct()
|
||||
{
|
||||
$headers = array(
|
||||
$headers = [
|
||||
'Cache-Control' => 'public, s-maxage=1337',
|
||||
);
|
||||
];
|
||||
|
||||
$exception = new ServiceUnavailableHttpException(1337, null, null, null, $headers);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user