How to test Counting relationships
I'm counting the number of related records in a text column based on the documentation and everything works fine.
How can I test the relationship count with Pest? I tried to test it by chaining
Please tell me if I should provide any further details.
The error:
The test:
How can I test the relationship count with Pest? I tried to test it by chaining
assertTableColumnStateSet method to the table component, but no luck so far.Please tell me if I should provide any further details.
The error:
Failed asserting that a table column with name [messages_count] has value of [1] for record [1] on the [App\Filament\Resources\TelegramUserResource\Pages\ListTelegramUsers] component.The test: