laravel base files

This commit is contained in:
Nabeel Shahzad
2017-06-08 13:28:26 -05:00
parent 26167adae8
commit 106d6a6798
96 changed files with 9856 additions and 1 deletions

25
tests/TestCase.php Executable file
View File

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