ldc-crm/tests/CreatesApplication.php
Jérémy Munsch 2e99623428 Normalize
- add phpcs
  - fix php standards
  - fix Laravel standards
  - normalize tables names
2021-03-01 06:57:45 +01:00

22 lines
382 B
PHP

<?php
namespace Tests;
use Illuminate\Contracts\Console\Kernel;
trait CreatesApplication
{
/**
* Creates the application.
*
* @return \Illuminate\Foundation\Application
*/
public function createApplication()
{
$app = require __DIR__ . '/../bootstrap/app.php';
$app->make(Kernel::class)->bootstrap();
return $app;
}
}