Add some event listeners and experiment with browser testing

This commit is contained in:
Nabeel Shahzad
2017-12-22 12:00:57 -06:00
parent 7fbe2f5e30
commit 74316218bc
12 changed files with 369 additions and 65 deletions

View File

@@ -0,0 +1,22 @@
<?php
namespace Tests;
use Illuminate\Support\Facades\Hash;
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();
//Hash::driver('bcrypt')->setRounds(4);
return $app;
}
}