diff options
author | knut <> | 2007-06-18 19:56:35 +0000 |
---|---|---|
committer | knut <> | 2007-06-18 19:56:35 +0000 |
commit | fe75acc9c6bfc76ce70e5e892cbf59c94f374ac5 (patch) | |
tree | be32ffcf0a468d21cadf24a51b77c07db1b7de9c /tests | |
parent | 2de967f07dd086f965959af72b33ca2a18030563 (diff) |
corrected test
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/Collections/TPagedListTest.php | 2 |
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()); } |