Skip to content

Commit b55cbd2

Browse files
committed
Fix
1 parent 34349ad commit b55cbd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/ActiveDataProviderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,9 @@ public function testTotalCountAfterSearch()
151151

152152
$pagination = $provider->getPagination();
153153
$this->assertEquals(0, $pagination->getPageCount());
154-
$this->assertCount(3, $provider->getModels());
154+
$this->assertCount(2, $provider->getModels());
155155
$this->assertEquals(1, $pagination->getPageCount());
156-
$this->assertEquals(3, $provider->getTotalCount());
156+
$this->assertEquals(2, $provider->getTotalCount());
157157

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

0 commit comments

Comments
 (0)