server/src/tests/TestCase.php
author Chloe Laisne <chloe.laisne@gmail.com>
Fri, 24 Jun 2016 02:07:09 +0200
changeset 204 dd969e178944
parent 2 00e2916104fe
permissions -rw-r--r--
Fix linting, remove logs and dead code

<?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;
    }
}