diff --git a/tests/RLS/PolicyTest.php b/tests/RLS/PolicyTest.php index c2562652..3c24da32 100644 --- a/tests/RLS/PolicyTest.php +++ b/tests/RLS/PolicyTest.php @@ -222,7 +222,4 @@ test('queries will stop working when the tenant session variable is not set', fu INSERT INTO posts (text, tenant_id, author_id) VALUES ('post2', ?, ?) SQL, [$tenant->id, $authorId]))->toThrow(QueryException::class); -})->with( - [TableRLSManager::class, TraitRLSManager::class], - [true, false] -); +})->with([TableRLSManager::class, TraitRLSManager::class])->with([true, false]); diff --git a/tests/RLS/TraitManagerTest.php b/tests/RLS/TraitManagerTest.php index 4ca814da..f65905a8 100644 --- a/tests/RLS/TraitManagerTest.php +++ b/tests/RLS/TraitManagerTest.php @@ -268,10 +268,7 @@ test('queries are correctly scoped using RLS with trait rls manager', function ( expect(fn () => DB::statement("INSERT INTO comments (text, post_id) VALUES ('third comment', {$post1->id})")) ->toThrow(QueryException::class); -})->with( - [true, false], - [true, false], -); +})->with([true, false])->with([true, false]); test('trait rls manager generates queries correctly', function() { /** @var TraitRLSManager $manager */