mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 15:34:04 +00:00
Delete 'rls' test group
This commit is contained in:
parent
ad0a2e5f6f
commit
34e8fb7fa9
1 changed files with 1 additions and 1 deletions
|
|
@ -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']]);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue