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

Complete todo cleanup

This commit is contained in:
lukinovec 2023-05-23 10:30:47 +02:00
parent 5aed290de6
commit d60062131a

View file

@ -157,8 +157,6 @@ test('queries are correctly scoped using RLS', function() {
tenancy()->end();
// todo1 Add option to disable the global scopes that the BelongsToTenant trait adds to the models, make RLS scope the queries
// Ensure RLS scopes the queries expect that tenants cannot access the records (posts and comments) of other tenants
tenancy()->initialize($tenant);
expect(Post::all()->pluck('text'))