mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Do not force predis when running CI
This commit is contained in:
parent
8f30239c80
commit
5e2a8d38f8
@ -37,7 +37,7 @@ class RouteServiceProvider extends ServiceProvider
|
||||
{
|
||||
parent::boot();
|
||||
|
||||
if (Ninja::isHosted()){
|
||||
if (Ninja::isHosted() && !config('ninja.testvars.travis')){
|
||||
app('router')->aliasMiddleware('throttle', ThrottleRequestsWithPredis::class);
|
||||
} else {
|
||||
app('router')->aliasMiddleware('throttle', ThrottleRequests::class);
|
||||
|
Loading…
x
Reference in New Issue
Block a user