Skip to content

Commit 4da711b

Browse files
committed
Fix
1 parent b55cbd2 commit 4da711b

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
@@ -152,7 +152,7 @@ public function testTotalCountAfterSearch()
152152
$pagination = $provider->getPagination();
153153
$this->assertEquals(0, $pagination->getPageCount());
154154
$this->assertCount(2, $provider->getModels());
155-
$this->assertEquals(1, $pagination->getPageCount());
155+
$this->assertEquals(2, $pagination->getPageCount());
156156
$this->assertEquals(2, $provider->getTotalCount());
157157

158158
$query->andWhere(['name' => 'user2']);

0 commit comments

Comments
 (0)