mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
23 lines
464 B
PHP
23 lines
464 B
PHP
<?php
|
|
|
|
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')->bootstrap();
|
|
|
|
$app['cache']->setDefaultDriver('array');
|
|
$app->setLocale('en');
|
|
|
|
return $app;
|
|
}
|
|
|
|
}
|