Implemented some tests.

This commit is contained in:
James Cole
2016-01-20 09:15:33 +01:00
parent ebdb1a8836
commit 2faf84780f
7 changed files with 176 additions and 246 deletions

View File

@@ -15,25 +15,23 @@ class ChartBillControllerTest extends TestCase
/**
* @covers FireflyIII\Http\Controllers\Chart\BillController::frontpage
* @todo Implement testFrontpage().
*/
public function testFrontpage()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
$this->be($this->user());
$response = $this->call('GET', '/chart/bill/frontpage');
$this->assertEquals(200, $response->status());
}
/**
* @covers FireflyIII\Http\Controllers\Chart\BillController::single
* @todo Implement testSingle().
*/
public function testSingle()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
$this->be($this->user());
$response = $this->call('GET', '/chart/bill/1');
$this->assertEquals(200, $response->status());
}
}