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