F
Filament13mo ago
urbycoz

Is there a way to assert table record count is less than a number?

I've made a test in phpunit that asserts that the table search is working but checking the table records get filtered appropriately: Livewire::test(CustomersTable::class) ->loadTable() ->assertCountTableRecords(10) ->searchTable('John') ->assertCountTableRecords(1) However since the search is across several columns there may be other unexpected matches, so it would be useful to have a way to simply assert that the count is less than 10.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server