1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 13:14:05 +00:00

Delete 'rls' test group

This commit is contained in:
lukinovec 2023-08-07 10:44:58 +02:00
parent ad0a2e5f6f
commit 34e8fb7fa9

View file

@ -214,7 +214,7 @@ test('queries are correctly scoped using RLS', function() {
expect(ScopedComment::all()->pluck('text')) expect(ScopedComment::all()->pluck('text'))
->toContain($post1Comment->text) ->toContain($post1Comment->text)
->not()->toContain($post2Comment->text); ->not()->toContain($post2Comment->text);
})->group('rls'); });
test('users created by CreatePostgresUserForTenant are only granted the permissions specified in the static property', function() { test('users created by CreatePostgresUserForTenant are only granted the permissions specified in the static property', function() {
config(['tenancy.rls.user_permissions' => ['INSERT', 'SELECT', 'UPDATE']]); config(['tenancy.rls.user_permissions' => ['INSERT', 'SELECT', 'UPDATE']]);