server/src/tests/TestCase.php
author Chloe Laisne <chloe.laisne@gmail.com>
Sun, 25 Sep 2016 22:43:38 +0200
changeset 293 eba7dac7f27b
parent 2 00e2916104fe
permissions -rw-r--r--
Add selected state to theme

<?php

class TestCase extends Illuminate\Foundation\Testing\TestCase {

    protected $baseUrl = '';

    /**
     * Creates the application.
     *
     * @return \Illuminate\Foundation\Application
     */
    public function createApplication()
    {
        $app = require __DIR__.'/../bootstrap/app.php';

        $app->make('Illuminate\Contracts\Console\Kernel')->bootstrap();

        return $app;
    }
}