firefly-iii/tests/Feature/ExampleTest.php

41 lines
755 B
PHP
Raw Normal View History

2017-02-05 08:42:00 -06:00
<?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.
*/
2017-02-05 08:42:00 -06:00
namespace Tests\Feature;
use Tests\TestCase;
2017-02-24 22:57:01 -06:00
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
}
/**
* A basic test example.
*
* @return void
*/
2017-03-05 04:19:06 -06:00
public function testBasicTest()
{
2017-03-05 04:19:06 -06:00
$response = $this->get('/login');
2017-03-05 04:19:06 -06:00
$response->assertStatus(200);
}
}