firefly-iii/tests/acceptance/Controllers/Chart/ChartBillControllerTest.php

39 lines
939 B
PHP
Raw Normal View History

2016-01-19 23:20:09 -06:00
<?php
/**
* ChartBillControllerTest.php
* Copyright (C) 2016 Sander Dorigo
*
* 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
2016-02-04 00:30:48 -06:00
* @covers FireflyIII\Http\Controllers\Chart\BillController::__construct
2016-01-19 23:20:09 -06:00
*/
public function testFrontpage()
{
2016-01-20 02:15:33 -06:00
$this->be($this->user());
2016-01-24 11:11:57 -06:00
$this->call('GET', '/chart/bill/frontpage');
2016-01-20 02:15:33 -06:00
2016-01-24 11:11:57 -06:00
$this->assertResponseStatus(200);
2016-01-19 23:20:09 -06:00
}
/**
* @covers FireflyIII\Http\Controllers\Chart\BillController::single
*/
public function testSingle()
{
2016-01-20 02:15:33 -06:00
$this->be($this->user());
2016-01-24 11:11:57 -06:00
$this->call('GET', '/chart/bill/1');
2016-01-20 02:15:33 -06:00
2016-01-24 11:11:57 -06:00
$this->assertResponseStatus(200);
2016-01-19 23:20:09 -06:00
}
}