Skip to content

Firefly III: a personal finances manager

New tests.

James Cole670fa77dd717
diff --git a/tests/acceptance/Controllers/Chart/AccountControllerTest.php b/tests/acceptance/Controllers/Chart/AccountControllerTest.php
index 3548e84e20..3a198e40e1 100644
--- a/tests/acceptance/Controllers/Chart/AccountControllerTest.php
+++ b/tests/acceptance/Controllers/Chart/AccountControllerTest.php
@@ -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().
diff --git a/tests/acceptance/Controllers/TransactionControllerTest.php b/tests/acceptance/Controllers/TransactionControllerTest.php
index b1ebfe89bf..aac6f87791 100644
--- a/tests/acceptance/Controllers/TransactionControllerTest.php
+++ b/tests/acceptance/Controllers/TransactionControllerTest.php
@@ -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()
+ {
+ }
}