be($this->user()); $this->call('get', route('chart.account.expense')); $this->assertResponseStatus(200); } /** * @covers \FireflyIII\Http\Controllers\Chart\AccountController::expenseBudget * Implement testExpenseBudget(). */ public function testExpenseBudget() { $this->be($this->user()); $this->call('get', route('chart.account.expense-budget', [1, '20120101', '20120131'])); $this->assertResponseStatus(200); } /** * @covers \FireflyIII\Http\Controllers\Chart\AccountController::expenseCategory * Implement testExpenseCategory(). */ public function testExpenseCategory() { $this->be($this->user()); $this->call('get', route('chart.account.expense-category', [1, '20120101', '20120131'])); $this->assertResponseStatus(200); } /** * @covers \FireflyIII\Http\Controllers\Chart\AccountController::frontpage * Implement testFrontpage(). */ public function testFrontpage() { $this->be($this->user()); $this->call('get', route('chart.account.frontpage')); $this->assertResponseStatus(200); } /** * @covers \FireflyIII\Http\Controllers\Chart\AccountController::incomeCategory * Implement testIncomeCategory(). */ public function testIncomeCategory() { $this->be($this->user()); $this->call('get', route('chart.account.income-category', [1, '20120101', '20120131'])); $this->assertResponseStatus(200); } /** * @covers \FireflyIII\Http\Controllers\Chart\AccountController::period * Implement testSpecificPeriod(). */ public function testPeriod() { $this->be($this->user()); $this->call('get', route('chart.account.period', [1, '2012-01-01'])); $this->assertResponseStatus(200); } /** * @covers \FireflyIII\Http\Controllers\Chart\AccountController::report * Implement testReport(). */ public function testReport() { $this->be($this->user()); $this->call('get', route('chart.account.report', ['1', '20120101', '20120131'])); $this->assertResponseStatus(200); } /** * @covers \FireflyIII\Http\Controllers\Chart\AccountController::revenueAccounts * Implement testRevenueAccounts(). */ public function testRevenueAccounts() { $this->be($this->user()); $this->call('get', route('chart.account.revenue')); $this->assertResponseStatus(200); } /** * @covers \FireflyIII\Http\Controllers\Chart\AccountController::single * Implement testSingle(). */ public function testSingle() { $this->be($this->user()); $this->call('get', route('chart.account.single', [1])); $this->assertResponseStatus(200); } /** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. */ protected function tearDown() { } }