1
0
mirror of https://github.com/exane/not-gwent-online synced 2025-06-17 18:54:20 +00:00
Files
assets
client
new_public
public
server
site
client
public
server
app
bootstrap
config
database
storage
tests
ExampleTest.php
TestCase.php
.env.example
artisan
composer.json
phpspec.yml
phpunit.xml
server.php
test
.gitignore
Config.example..js
README.md
gulpfile.js
package.json
not-gwent-online/site/server/tests/TestCase.php
2015-06-19 18:50:05 +02:00

26 lines
532 B
PHP
Executable File

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