1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 19:04:02 +00:00

Static property cleanup in afterEach

This commit is contained in:
lukinovec 2025-01-14 15:51:48 +01:00
parent f836610819
commit a5c79d49c3
3 changed files with 12 additions and 0 deletions

View file

@ -107,6 +107,10 @@ beforeEach(function () {
});
});
afterEach(function () {
CreateUserWithRLSPolicies::$forceRls = true;
});
test('correct rls policies get created with the correct hash using table manager', function() {
$manager = app(config('tenancy.rls.manager'));