mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 16:57:09 +00:00
New tests.
This commit is contained in:
@@ -4,7 +4,7 @@ namespace Chart;
|
||||
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
|
||||
{
|
||||
@@ -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
|
||||
* @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
|
||||
* @todo Implement testReport().
|
||||
|
@@ -7,7 +7,6 @@
|
||||
class TransactionControllerTest extends TestCase
|
||||
{
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Sets up the fixture, for example, opens a network connection.
|
||||
@@ -18,14 +17,6 @@ class TransactionControllerTest extends TestCase
|
||||
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
|
||||
* @todo Implement testIndex().
|
||||
@@ -85,4 +76,12 @@ class TransactionControllerTest extends TestCase
|
||||
'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()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user