Set the micropub token in a testing enviro
This commit is contained in:
parent
2c89de7043
commit
cd324f72d5
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ class AppServiceProvider extends ServiceProvider
|
|||
});
|
||||
|
||||
//allow micropub use in development
|
||||
if (env('APP_DEBUG') == true) {
|
||||
if (env('APP_DEBUG') == true || env('APP_ENV') == 'testing') {
|
||||
session(['me' => env('APP_URL')]);
|
||||
if (Storage::exists('dev-token')) {
|
||||
session(['token' => Storage::get('dev-token')]);
|
||||
|
|
Loading…
Add table
Reference in a new issue