Started working on a test suite

Signed-off-by: Graham Campbell <graham@cachethq.io>
This commit is contained in:
James Brooks
2015-05-28 18:18:33 +01:00
committed by Graham Campbell
parent c2b69ff547
commit 7b3f6fee26
8 changed files with 229 additions and 55 deletions
-27
View File
@@ -1,27 +0,0 @@
<?php
/*
* This file is part of Cachet.
*
* (c) Cachet HQ <support@cachethq.io>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
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();
return $app;
}
}