Re-implemented basic account controller tests.

This commit is contained in:
James Cole
2017-02-12 11:25:17 +01:00
parent 1a204d31e7
commit 5528663727
5 changed files with 319 additions and 10 deletions

View File

@@ -1,4 +1,11 @@
<?php
/**
* ExampleTest.php
* Copyright (c) 2017 thegrumpydictator@gmail.com
* This software may be modified and distributed under the terms of the Creative Commons Attribution-ShareAlike 4.0 International License.
*
* See the LICENSE file for details.
*/
namespace Tests\Feature;
@@ -16,8 +23,20 @@ class ExampleTest extends TestCase
*/
public function testBasicTest()
{
$response = $this->get('/');
$response = $this->get('/login');
$response->assertStatus(200);
}
/**
* A basic test example.
*
* @return void
*/
public function testAnotherBasicTest()
{
$response = $this->get('/');
$response->assertStatus(302);
}
}