mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 00:01:21 +00:00
Add STREAM_FORK_OUTPUT switch
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace Tests;
|
||||
|
||||
use Illuminate\Contracts\Console\Kernel;
|
||||
|
||||
trait CreatesApplication
|
||||
{
|
||||
/**
|
||||
* Boots the Laravel application for tests.
|
||||
*/
|
||||
public function createApplication()
|
||||
{
|
||||
// Require the configured application instance.
|
||||
$app = require __DIR__.'/../bootstrap/app.php';
|
||||
|
||||
// Bootstrap the console kernel so facades and providers are ready.
|
||||
$app->make(Kernel::class)->bootstrap();
|
||||
|
||||
return $app;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user