server/src/tests/TestCase.php
author ymh <ymh.work@gmail.com>
Fri, 04 Mar 2016 10:08:52 +0100
changeset 138 3079cbf80006
parent 2 00e2916104fe
permissions -rw-r--r--
add subjects save + set modified date when saing document in rest api

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