Update to laravel 5.4 style tests

This commit is contained in:
James Cole
2017-02-05 15:42:00 +01:00
parent 229f718754
commit a9d5b6ef92
4 changed files with 73 additions and 146 deletions

View File

@@ -0,0 +1,23 @@
<?php
namespace Tests\Feature;
use Tests\TestCase;
use Illuminate\Foundation\Testing\WithoutMiddleware;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\DatabaseTransactions;
class ExampleTest extends TestCase
{
/**
* A basic test example.
*
* @return void
*/
public function testBasicTest()
{
$response = $this->get('/');
$response->assertStatus(200);
}
}