From 6596aeb02e4801ac46d79ab655ea5cd8158a6c07 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 2 Jun 2024 19:11:27 +1000 Subject: [PATCH] Minor fixes for design API tests --- tests/Feature/DesignApiTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Feature/DesignApiTest.php b/tests/Feature/DesignApiTest.php index 48811d7f7a..06bbc8e04a 100644 --- a/tests/Feature/DesignApiTest.php +++ b/tests/Feature/DesignApiTest.php @@ -60,6 +60,7 @@ class DesignApiTest extends TestCase $q = Design::query() ->where('is_template', true) + ->where('company_id', $this->company->id) ->whereRaw('FIND_IN_SET( ? ,entities)', [$searchable]); $this->assertEquals(1, $q->count());