mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-28 09:51:21 -06:00
39 lines
953 B
PHP
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);
|
|
}
|
|
}
|