New tests.

This commit is contained in:
James Cole 2016-11-20 18:34:49 +01:00
parent 8baea2feb9
commit 670fa77dd7
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
2 changed files with 45 additions and 10 deletions

View File

@ -4,7 +4,7 @@ namespace Chart;
use TestCase; use TestCase;
/** /**
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 07:15:09. * Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 17:30:36.
*/ */
class AccountControllerTest extends TestCase class AccountControllerTest extends TestCase
{ {
@ -31,6 +31,30 @@ class AccountControllerTest extends TestCase
); );
} }
/**
* @covers FireflyIII\Http\Controllers\Chart\AccountController::expenseByBudget
* @todo Implement testExpenseByBudget().
*/
public function testExpenseByBudget()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers FireflyIII\Http\Controllers\Chart\AccountController::expenseByCategory
* @todo Implement testExpenseByCategory().
*/
public function testExpenseByCategory()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/** /**
* @covers FireflyIII\Http\Controllers\Chart\AccountController::frontpage * @covers FireflyIII\Http\Controllers\Chart\AccountController::frontpage
* @todo Implement testFrontpage(). * @todo Implement testFrontpage().
@ -43,6 +67,18 @@ class AccountControllerTest extends TestCase
); );
} }
/**
* @covers FireflyIII\Http\Controllers\Chart\AccountController::incomeByCategory
* @todo Implement testIncomeByCategory().
*/
public function testIncomeByCategory()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/** /**
* @covers FireflyIII\Http\Controllers\Chart\AccountController::report * @covers FireflyIII\Http\Controllers\Chart\AccountController::report
* @todo Implement testReport(). * @todo Implement testReport().

View File

@ -7,7 +7,6 @@
class TransactionControllerTest extends TestCase class TransactionControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
@ -18,14 +17,6 @@ class TransactionControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\TransactionController::index * @covers FireflyIII\Http\Controllers\TransactionController::index
* @todo Implement testIndex(). * @todo Implement testIndex().
@ -85,4 +76,12 @@ class TransactionControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }