From 826cc8a3467854cf0c03490efedf3284919de8fd Mon Sep 17 00:00:00 2001 From: enricodelazzari Date: Mon, 4 Dec 2023 15:10:53 +0100 Subject: [PATCH] FIX exclusion wildcard --- tests/ExclusionTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/ExclusionTest.php b/tests/ExclusionTest.php index f1d06f5..25d250d 100644 --- a/tests/ExclusionTest.php +++ b/tests/ExclusionTest.php @@ -104,6 +104,8 @@ public function it_can_exclude_all_models() Article::excludeAllModels(); + $articles->first()->addToExclusion(); + $this->assertCount(0, Article::all()); $this->assertDatabaseCount($this->exclusionsTable, 1); $this->assertDatabaseHas($this->exclusionsTable, [