summaryrefslogtreecommitdiff
path: root/tests/unit/Collections/TPagedListTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/Collections/TPagedListTest.php')
-rw-r--r--tests/unit/Collections/TPagedListTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/Collections/TPagedListTest.php b/tests/unit/Collections/TPagedListTest.php
index dc567e55..2f1b40cc 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('TListIterator', $list->getIterator());
+ self::assertType('ArrayIterator', $list->getIterator());
$n = 0;
$found = 0;
foreach($list as $index => $item) {