From 9e9e81b69cb039bd3cabd2ea2ba93253729166be Mon Sep 17 00:00:00 2001 From: lukinovec Date: Thu, 15 Jun 2023 13:28:17 +0200 Subject: [PATCH] debug --- tests/PostgresRLSTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/PostgresRLSTest.php b/tests/PostgresRLSTest.php index 3e257c0d..c7e87a2d 100644 --- a/tests/PostgresRLSTest.php +++ b/tests/PostgresRLSTest.php @@ -174,6 +174,8 @@ test('queries are correctly scoped using RLS', function() { // Create posts and comments for both tenants tenancy()->initialize($tenant); + dd(DB::select('select * from pg_policies')); + $post1 = RlsPost::create(['text' => 'first post']); $post1Comment = $post1->scoped_comments()->create(['text' => 'first comment']);