mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
New tests.
This commit is contained in:
parent
8baea2feb9
commit
670fa77dd7
@ -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().
|
||||||
|
@ -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()
|
||||||
|
{
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user