Files
nl-admin-api/tests/TestCase.php

26 lines
532 B
PHP
Raw Normal View History

2013-01-11 15:14:07 -06:00
<?php
2015-02-22 20:47:03 -06:00
class TestCase extends Illuminate\Foundation\Testing\TestCase
{
2015-05-06 16:58:00 -05:00
/**
* The base URL to use while testing the application.
*
* @var string
*/
protected $baseUrl = 'http://localhost';
2015-02-22 20:47:03 -06:00
/**
* Creates the application.
*
* @return \Illuminate\Foundation\Application
*/
public function createApplication()
{
$app = require __DIR__.'/../bootstrap/app.php';
2015-06-08 10:29:33 +03:00
$app->make(Illuminate\Contracts\Console\Kernel::class)->bootstrap();
2013-01-11 15:14:07 -06:00
2015-02-22 20:47:03 -06:00
return $app;
}
}