Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Commit 00c4ac3

Browse files
author
Pádraic Brady
committed
Merge pull request zendframework/zendframework#836 from Maks3w/hotfix/ZF2-176
[ZF2-176] Replace all assertType assertions.

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/ResponseTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function testResponseCanRenderStatusLine()
2828
$response->setReasonPhrase('Foo Bar');
2929
$this->assertEquals('HTTP/1.1 404 Foo Bar', $response->renderStatusLine());
3030
}
31-
31+
3232
public function testResponseUsesHeadersContainerByDefault()
3333
{
3434
$response = new Response();
@@ -270,7 +270,7 @@ public function testResponseSetStatusCodeThrowsExceptionOnInvalidCode()
270270
//
271271
// // Check we get an array if no code is passed
272272
// $codes = Response::responseCodeAsText();
273-
// $this->assertType('array', $codes);
273+
// $this->assertInternalType('array', $codes);
274274
// $this->assertEquals('OK', $codes[200]);
275275
// }
276276
//

0 commit comments

Comments
 (0)