server/src/tests/TestCase.php
author nowmad@nowmads-macbook-pro.local
Fri, 11 Dec 2015 13:15:01 +0100
changeset 52 87b6a104de8e
parent 2 00e2916104fe
permissions -rw-r--r--
add tags to results template and remove the unused controller (the partial template uses the application controller)

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