From b6ec303f50cfa233374d12b06a539025da70e303 Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Sat, 21 May 2011 21:26:33 +0000 Subject: up-ported to trunk/ unit tests fixes from r2921 --- tests/unit/Collections/TStackTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/unit/Collections/TStackTest.php') 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) { -- cgit v1.2.3