firefly-iii/tests/acceptance/Controllers/Chart/ChartBillControllerTest.php
2016-04-01 16:46:11 +02:00

39 lines
953 B
PHP

<?php
/**
* ChartBillControllerTest.php
* Copyright (C) 2016 thegrumpydictator@gmail.com
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
/**
* Generated by PHPUnit_SkeletonGenerator on 2016-01-19 at 15:39:57.
*/
class ChartBillControllerTest extends TestCase
{
/**
* @covers FireflyIII\Http\Controllers\Chart\BillController::frontpage
* @covers FireflyIII\Http\Controllers\Chart\BillController::__construct
*/
public function testFrontpage()
{
$this->be($this->user());
$this->call('GET', '/chart/bill/frontpage');
$this->assertResponseStatus(200);
}
/**
* @covers FireflyIII\Http\Controllers\Chart\BillController::single
*/
public function testSingle()
{
$this->be($this->user());
$this->call('GET', '/chart/bill/1');
$this->assertResponseStatus(200);
}
}