Skip to content
This repository was archived by the owner on Feb 18, 2023. It is now read-only.

Commit 76f1649

Browse files
authored
Merge pull request #27 from kslimani/fix-test-permissions-cache
Change Laravel Permission config to avoid to log alert while running tests
2 parents b6edefc + 4890abe commit 76f1649

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

config/laravel-permission.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,4 +130,13 @@
130130

131131
],
132132

133+
/*
134+
* By default we'll make an entry in the application log when the permissions
135+
* could not be loaded. Normally this only occurs while installing the packages.
136+
*
137+
* If for some reason you want to disable that logging, set this value to false.
138+
*/
139+
140+
'log_registration_exception' => env('APP_ENV') !== 'testing',
141+
133142
];

0 commit comments

Comments
 (0)