Skip to content

Commit 759f042

Browse files
committed
Fix test
1 parent 8272c86 commit 759f042

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ActiveDataProviderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ public function testTotalCountAfterSearch()
158158
$query->andWhere(['name' => 'user2']);
159159
$provider->prepare(true);
160160
$this->assertCount(1, $provider->getModels());
161-
$this->assertEquals(1, $pagination->getPageCount());
161+
$this->assertEquals(1, $provider->getPagination()->getPageCount());
162162
$this->assertEquals(1, $provider->getTotalCount());
163163
}
164164
}

0 commit comments

Comments
 (0)