summaryrefslogtreecommitdiff
path: root/tests/unit/Web/THttpResponseTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/Web/THttpResponseTest.php')
-rw-r--r--tests/unit/Web/THttpResponseTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/Web/THttpResponseTest.php b/tests/unit/Web/THttpResponseTest.php
index 6cc453e4..8e40a2a0 100644
--- a/tests/unit/Web/THttpResponseTest.php
+++ b/tests/unit/Web/THttpResponseTest.php
@@ -90,7 +90,7 @@ class THttpResponseTest extends PHPUnit_Framework_TestCase {
public function testGetCookies() {
$response=new THttpResponse ();
$response->init (null);
- self::assertType('THttpCookieCollection', $response->getCookies());
+ self::assertInstanceOf('THttpCookieCollection', $response->getCookies());
self::assertEquals(0, $response->getCookies()->getCount());
}