Skip to content

Commit 09f4e82

Browse files
committed
Fix
1 parent 4da711b commit 09f4e82

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
@@ -153,7 +153,7 @@ public function testTotalCountAfterSearch()
153153
$this->assertEquals(0, $pagination->getPageCount());
154154
$this->assertCount(2, $provider->getModels());
155155
$this->assertEquals(2, $pagination->getPageCount());
156-
$this->assertEquals(2, $provider->getTotalCount());
156+
$this->assertEquals(3, $provider->getTotalCount());
157157

158158
$query->andWhere(['name' => 'user2']);
159159
$this->assertCount(1, $provider->getModels());

0 commit comments

Comments
 (0)