We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b55cbd2 commit 4da711bCopy full SHA for 4da711b
tests/ActiveDataProviderTest.php
@@ -152,7 +152,7 @@ public function testTotalCountAfterSearch()
152
$pagination = $provider->getPagination();
153
$this->assertEquals(0, $pagination->getPageCount());
154
$this->assertCount(2, $provider->getModels());
155
- $this->assertEquals(1, $pagination->getPageCount());
+ $this->assertEquals(2, $pagination->getPageCount());
156
$this->assertEquals(2, $provider->getTotalCount());
157
158
$query->andWhere(['name' => 'user2']);
0 commit comments