mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 19:44:30 -04:00
fixes for tests
This commit is contained in:
parent
86526b8841
commit
a1a5561ee8
@ -4,6 +4,7 @@ namespace App\Providers;
|
|||||||
|
|
||||||
use Illuminate\Database\Eloquent\Relations\Relation;
|
use Illuminate\Database\Eloquent\Relations\Relation;
|
||||||
use Illuminate\Support\Facades\Blade;
|
use Illuminate\Support\Facades\Blade;
|
||||||
|
use Illuminate\Support\Facades\Schema;
|
||||||
use Illuminate\Support\ServiceProvider;
|
use Illuminate\Support\ServiceProvider;
|
||||||
|
|
||||||
class AppServiceProvider extends ServiceProvider
|
class AppServiceProvider extends ServiceProvider
|
||||||
@ -23,6 +24,9 @@ class AppServiceProvider extends ServiceProvider
|
|||||||
Blade::if('env', function($environment){
|
Blade::if('env', function($environment){
|
||||||
return config('ninja.environment') === $environment;
|
return config('ninja.environment') === $environment;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Schema::defaultStringLength(191);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user