Skip to content

Commit e962328

Browse files
committed
Update QueryDataTableTest.php
1 parent 7bdd784 commit e962328

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Unit/QueryDataTableTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public function test_simple_queries_with_complexe_where_are_not_wrapped()
130130
);
131131

132132
$this->assertQueryWrapped(false, $dataTable->prepareCountQuery());
133-
$this->assertEquals(1, $dataTable->prepareCountQuery()->first()->row_count);
133+
$this->assertEquals(1, $dataTable->prepareCountQuery()->count());
134134
}
135135

136136
public function test_simple_queries_are_not_wrapped_and_countable()

0 commit comments

Comments
 (0)