summaryrefslogtreecommitdiff
path: root/tests/unit/Collections/TStackTest.php
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2011-05-21 21:26:33 +0000
committerctrlaltca@gmail.com <>2011-05-21 21:26:33 +0000
commitb6ec303f50cfa233374d12b06a539025da70e303 (patch)
tree171b7488e0261dd805435f177953f5157948979d /tests/unit/Collections/TStackTest.php
parentc266d79c8370a536c9ccd0e9f0506ed65a22b9fe (diff)
up-ported to trunk/ unit tests fixes from r2921
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 e4c4e5d1..77fb1c97 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('TStackIterator', $stack->getIterator());
+ self::assertType('ArrayIterator', $stack->getIterator());
$n = 0;
$found = 0;
foreach($stack as $index => $item) {