From a0d269954534e09c0b9c0f73c927b6eb764c21d9 Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Mon, 20 Jun 2011 16:49:53 +0000 Subject: some fixes on tests --- tests/unit/Collections/TPagedListTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/unit/Collections/TPagedListTest.php') diff --git a/tests/unit/Collections/TPagedListTest.php b/tests/unit/Collections/TPagedListTest.php index 2f1b40cc..72eabc31 100644 --- a/tests/unit/Collections/TPagedListTest.php +++ b/tests/unit/Collections/TPagedListTest.php @@ -172,7 +172,7 @@ class TPagedListTest extends PHPUnit_Framework_TestCase { public function testGetIterator() { $list = new TPagedList(array(1, 2)); $list->CustomPaging = true; - self::assertType('ArrayIterator', $list->getIterator()); + self::assertInstanceOf('ArrayIterator', $list->getIterator()); $n = 0; $found = 0; foreach($list as $index => $item) { -- cgit v1.2.3