Askedio\Tests\BaseTestCase::setUp PHP Method

setUp() public method

Setup DB before each test.
public setUp ( )
    public function setUp()
    {
        parent::setUp();
        $this->app['config']->set('database.default', 'sqlite');
        $this->app['config']->set('database.connections.sqlite.database', ':memory:');
        $this->app['config']->set('app.url', 'http://localhost/');
        $this->app['config']->set('app.debug', false);
        $this->app['config']->set('app.key', env('APP_KEY', '1234567890123456'));
        $this->app['config']->set('app.cipher', 'AES-128-CBC');
        $this->app->boot();
        $this->migrate();
    }