Files
firefly-iii/tests/acceptance/Controllers/Chart/PiggyBankControllerTest.php
James Cole 0fe0de1a7f New tests
2016-12-10 07:29:36 +01:00

42 lines
936 B
PHP

<?php
/**
* PiggyBankControllerTest.php
* Copyright (C) 2016 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 Chart;
use TestCase;
/**
* Generated by PHPUnit_SkeletonGenerator on 2016-12-10 at 05:51:41.
*/
class PiggyBankControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed.
*/
public function setUp()
{
parent::setUp();
}
/**
* @covers \FireflyIII\Http\Controllers\Chart\PiggyBankController::history
*/
public function testHistory()
{
$this->be($this->user());
$this->call('get', route('chart.piggy-bank.history', [1]));
$this->assertResponseStatus(200);
}
}