mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
27 lines
551 B
PHP
27 lines
551 B
PHP
<?php
|
|
|
|
/**
|
|
* Class TestCase
|
|
*
|
|
* @link http://pyrocms.com/
|
|
* @author PyroCMS, Inc. <support@pyrocms.com>
|
|
* @author Ryan Thompson <ryan@pyrocms.com>
|
|
*/
|
|
abstract class TestCase extends \Illuminate\Foundation\Testing\TestCase
|
|
{
|
|
|
|
/**
|
|
* 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;
|
|
}
|
|
}
|