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 7bdd784 commit e962328Copy full SHA for e962328
tests/Unit/QueryDataTableTest.php
@@ -130,7 +130,7 @@ public function test_simple_queries_with_complexe_where_are_not_wrapped()
130
);
131
132
$this->assertQueryWrapped(false, $dataTable->prepareCountQuery());
133
- $this->assertEquals(1, $dataTable->prepareCountQuery()->first()->row_count);
+ $this->assertEquals(1, $dataTable->prepareCountQuery()->count());
134
}
135
136
public function test_simple_queries_are_not_wrapped_and_countable()
0 commit comments