Merge branch 'develop' of github.com:invoiceninja/invoiceninja into develop

This commit is contained in:
Hillel Coren 2018-03-25 13:18:32 +03:00
commit dcac9809ea

View File

@ -1,19 +1,21 @@
<?php <?php
abstract class TestCase extends Illuminate\Foundation\Testing\TestCase
class TestCase extends Illuminate\Foundation\Testing\TestCase { {
/**
/** * The base URL to use while testing the application.
* Creates the application. *
* * @var string
* @return Symfony\Component\HttpKernel\HttpKernelInterface */
*/ protected $baseUrl = 'http://localhost';
public function createApplication() /**
{ * Creates the application.
$unitTesting = true; *
* @return \Illuminate\Foundation\Application
$testEnvironment = 'testing'; */
public function createApplication()
return require __DIR__.'/../../bootstrap/start.php'; {
} $app = require __DIR__.'/../bootstrap/app.php';
$app->make(Illuminate\Contracts\Console\Kernel::class)->bootstrap();
return $app;
}
} }