firefly-iii/app/Providers/TestingServiceProvider.php

28 lines
475 B
PHP
Raw Normal View History

2015-02-22 08:40:13 -06:00
<?php
namespace FireflyIII\Providers;
use Illuminate\Support\ServiceProvider;
/**
* Class TestingServiceProvider
*
* @package FireflyIII\Providers
*/
class TestingServiceProvider extends ServiceProvider {
/**
* Register the service provider.
*
* @return void
*/
public function register()
{
if ($this->app->environment() == 'testing')
{
$this->app['config']['session.driver'] = 'native';
}
}
}