2017-02-05 08:42:00 -06:00
|
|
|
<?php
|
2017-08-12 03:27:45 -05:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
2017-02-12 04:25:17 -06:00
|
|
|
/**
|
|
|
|
* 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.
|
|
|
|
*/
|
2017-02-05 08:42:00 -06:00
|
|
|
|
|
|
|
namespace Tests\Feature;
|
|
|
|
|
|
|
|
use Tests\TestCase;
|
2017-02-24 22:57:01 -06:00
|
|
|
|
2017-08-12 03:27:45 -05:00
|
|
|
/**
|
|
|
|
* Class ExampleTest
|
|
|
|
*
|
|
|
|
* @package Tests\Feature
|
|
|
|
*/
|
2017-02-05 08:42:00 -06:00
|
|
|
class ExampleTest extends TestCase
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* A basic test example.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
2017-03-05 04:19:06 -06:00
|
|
|
public function testAnotherBasicTest()
|
2017-02-05 08:42:00 -06:00
|
|
|
{
|
2017-03-05 04:19:06 -06:00
|
|
|
$response = $this->get('/');
|
2017-02-05 08:42:00 -06:00
|
|
|
|
2017-03-05 04:19:06 -06:00
|
|
|
$response->assertStatus(302);
|
2017-02-05 08:42:00 -06:00
|
|
|
}
|
2017-02-12 04:25:17 -06:00
|
|
|
|
|
|
|
/**
|
|
|
|
* A basic test example.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
2017-03-05 04:19:06 -06:00
|
|
|
public function testBasicTest()
|
2017-02-12 04:25:17 -06:00
|
|
|
{
|
2017-03-05 04:19:06 -06:00
|
|
|
$response = $this->get('/login');
|
2017-02-12 04:25:17 -06:00
|
|
|
|
2017-03-05 04:19:06 -06:00
|
|
|
$response->assertStatus(200);
|
2017-02-12 04:25:17 -06:00
|
|
|
}
|
2017-02-05 12:51:58 -06:00
|
|
|
}
|