From f576f83a90d359a9e162fcff4ab2ca6009e08e92 Mon Sep 17 00:00:00 2001 From: luanfreitasdev Date: Wed, 13 Mar 2024 18:41:57 -0300 Subject: [PATCH] Reorder resolveFilters - Add computedDatasource --- tests/Feature/Filters/FilterSelectTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Feature/Filters/FilterSelectTest.php b/tests/Feature/Filters/FilterSelectTest.php index 5ef2be8a..b538a5f7 100644 --- a/tests/Feature/Filters/FilterSelectTest.php +++ b/tests/Feature/Filters/FilterSelectTest.php @@ -110,6 +110,7 @@ public function filters(): array it('property filter using computed datasource', function (string $component, object $params) { livewire($component) ->call($params->theme) + ->assertSee('Pastel de Nata') ->set('filters', filterSelect('category_id', 1)) ->assertSee('Almôndegas ao Sugo') ->assertDontSee('Pastel de Nata');