summaryrefslogtreecommitdiff
path: root/tests/unit/Collections/TQueueTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/Collections/TQueueTest.php')
-rw-r--r--tests/unit/Collections/TQueueTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/Collections/TQueueTest.php b/tests/unit/Collections/TQueueTest.php
index c5ec2b6b..167be249 100644
--- a/tests/unit/Collections/TQueueTest.php
+++ b/tests/unit/Collections/TQueueTest.php
@@ -96,7 +96,7 @@ class TQueueTest extends PHPUnit_Framework_TestCase {
public function testGetIterator() {
$queue = new TQueue(array(1, 2));
- self::assertType('ArrayIterator', $queue->getIterator());
+ self::assertInstanceOf('ArrayIterator', $queue->getIterator());
$n = 0;
$found = 0;
foreach($queue as $index => $item) {