summaryrefslogtreecommitdiff
path: root/tests/unit/Collections/TPagedListTest.php
diff options
context:
space:
mode:
authorknut <>2007-06-18 19:56:35 +0000
committerknut <>2007-06-18 19:56:35 +0000
commitfe75acc9c6bfc76ce70e5e892cbf59c94f374ac5 (patch)
treebe32ffcf0a468d21cadf24a51b77c07db1b7de9c /tests/unit/Collections/TPagedListTest.php
parent2de967f07dd086f965959af72b33ca2a18030563 (diff)
corrected test
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 e5f2036e..dc567e55 100644
--- a/tests/unit/Collections/TPagedListTest.php
+++ b/tests/unit/Collections/TPagedListTest.php
@@ -97,7 +97,7 @@ class TPagedListTest extends PHPUnit_Framework_TestCase {
$myList = new MyPagedList();
$list->attachEventHandler('OnFetchData', array($myList, 'fetchData'));
self::assertEquals(false, $myList->hasFetchedData());
- $list->onFetchData(new TPagedListFetchDataEventParameter($list->CurrentPageIndex, $this->PageSize*$this->CurrentPageIndex, $list->PageSize));
+ $list->onFetchData(new TPagedListFetchDataEventParameter($list->CurrentPageIndex, $list->PageSize*$list->CurrentPageIndex, $list->PageSize));
self::assertEquals(true, $myList->hasFetchedData());
}