mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-29 18:20:01 +00:00
New test files.
This commit is contained in:
@@ -1,10 +1,20 @@
|
||||
<?php
|
||||
/**
|
||||
* AccountControllerTest.php
|
||||
* Copyright (C) 2016 thegrumpydictator@gmail.com
|
||||
*
|
||||
* This software may be modified and distributed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International License.
|
||||
*
|
||||
* See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Chart;
|
||||
|
||||
use TestCase;
|
||||
|
||||
/**
|
||||
* Generated by PHPUnit_SkeletonGenerator on 2016-12-04 at 07:07:40.
|
||||
* Generated by PHPUnit_SkeletonGenerator on 2016-12-06 at 08:13:19.
|
||||
*/
|
||||
class AccountControllerTest extends TestCase
|
||||
{
|
||||
@@ -32,10 +42,10 @@ class AccountControllerTest extends TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Http\Controllers\Chart\AccountController::expenseByBudget
|
||||
* Implement testExpenseByBudget().
|
||||
* @covers FireflyIII\Http\Controllers\Chart\AccountController::expenseBudget
|
||||
* Implement testExpenseBudget().
|
||||
*/
|
||||
public function testExpenseByBudget()
|
||||
public function testExpenseBudget()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
@@ -44,10 +54,10 @@ class AccountControllerTest extends TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Http\Controllers\Chart\AccountController::expenseByCategory
|
||||
* Implement testExpenseByCategory().
|
||||
* @covers FireflyIII\Http\Controllers\Chart\AccountController::expenseCategory
|
||||
* Implement testExpenseCategory().
|
||||
*/
|
||||
public function testExpenseByCategory()
|
||||
public function testExpenseCategory()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
@@ -68,10 +78,10 @@ class AccountControllerTest extends TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Http\Controllers\Chart\AccountController::incomeByCategory
|
||||
* Implement testIncomeByCategory().
|
||||
* @covers FireflyIII\Http\Controllers\Chart\AccountController::incomeCategory
|
||||
* Implement testIncomeCategory().
|
||||
*/
|
||||
public function testIncomeByCategory()
|
||||
public function testIncomeCategory()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
|
@@ -1,10 +1,20 @@
|
||||
<?php
|
||||
/**
|
||||
* BillControllerTest.php
|
||||
* Copyright (C) 2016 thegrumpydictator@gmail.com
|
||||
*
|
||||
* This software may be modified and distributed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International License.
|
||||
*
|
||||
* See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Chart;
|
||||
|
||||
use TestCase;
|
||||
|
||||
/**
|
||||
* Generated by PHPUnit_SkeletonGenerator on 2016-12-04 at 07:07:40.
|
||||
* Generated by PHPUnit_SkeletonGenerator on 2016-12-06 at 08:13:19.
|
||||
*/
|
||||
class BillControllerTest extends TestCase
|
||||
{
|
||||
|
@@ -1,10 +1,20 @@
|
||||
<?php
|
||||
/**
|
||||
* BudgetControllerTest.php
|
||||
* Copyright (C) 2016 thegrumpydictator@gmail.com
|
||||
*
|
||||
* This software may be modified and distributed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International License.
|
||||
*
|
||||
* See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Chart;
|
||||
|
||||
use TestCase;
|
||||
|
||||
/**
|
||||
* Generated by PHPUnit_SkeletonGenerator on 2016-12-04 at 07:07:40.
|
||||
* Generated by PHPUnit_SkeletonGenerator on 2016-12-06 at 08:13:19.
|
||||
*/
|
||||
class BudgetControllerTest extends TestCase
|
||||
{
|
||||
@@ -67,6 +77,18 @@ class BudgetControllerTest extends TestCase
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Http\Controllers\Chart\BudgetController::periodNoBudget
|
||||
* Implement testPeriodNoBudget().
|
||||
*/
|
||||
public function testPeriodNoBudget()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'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.
|
||||
|
@@ -1,10 +1,20 @@
|
||||
<?php
|
||||
/**
|
||||
* CategoryControllerTest.php
|
||||
* Copyright (C) 2016 thegrumpydictator@gmail.com
|
||||
*
|
||||
* This software may be modified and distributed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International License.
|
||||
*
|
||||
* See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Chart;
|
||||
|
||||
use TestCase;
|
||||
|
||||
/**
|
||||
* Generated by PHPUnit_SkeletonGenerator on 2016-12-04 at 07:07:40.
|
||||
* Generated by PHPUnit_SkeletonGenerator on 2016-12-06 at 08:13:19.
|
||||
*/
|
||||
class CategoryControllerTest extends TestCase
|
||||
{
|
||||
@@ -67,6 +77,18 @@ class CategoryControllerTest extends TestCase
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Http\Controllers\Chart\CategoryController::reportPeriodNoCategory
|
||||
* Implement testReportPeriodNoCategory().
|
||||
*/
|
||||
public function testReportPeriodNoCategory()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Http\Controllers\Chart\CategoryController::specificPeriod
|
||||
* Implement testSpecificPeriod().
|
||||
|
@@ -1,10 +1,20 @@
|
||||
<?php
|
||||
/**
|
||||
* CategoryReportControllerTest.php
|
||||
* Copyright (C) 2016 thegrumpydictator@gmail.com
|
||||
*
|
||||
* This software may be modified and distributed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International License.
|
||||
*
|
||||
* See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Chart;
|
||||
|
||||
use TestCase;
|
||||
|
||||
/**
|
||||
* Generated by PHPUnit_SkeletonGenerator on 2016-12-04 at 07:07:40.
|
||||
* Generated by PHPUnit_SkeletonGenerator on 2016-12-06 at 08:13:19.
|
||||
*/
|
||||
class CategoryReportControllerTest extends TestCase
|
||||
{
|
||||
|
@@ -1,10 +1,20 @@
|
||||
<?php
|
||||
/**
|
||||
* PiggyBankControllerTest.php
|
||||
* Copyright (C) 2016 thegrumpydictator@gmail.com
|
||||
*
|
||||
* This software may be modified and distributed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International License.
|
||||
*
|
||||
* See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Chart;
|
||||
|
||||
use TestCase;
|
||||
|
||||
/**
|
||||
* Generated by PHPUnit_SkeletonGenerator on 2016-12-04 at 07:07:40.
|
||||
* Generated by PHPUnit_SkeletonGenerator on 2016-12-06 at 08:13:19.
|
||||
*/
|
||||
class PiggyBankControllerTest extends TestCase
|
||||
{
|
||||
|
@@ -1,10 +1,20 @@
|
||||
<?php
|
||||
/**
|
||||
* ReportControllerTest.php
|
||||
* Copyright (C) 2016 thegrumpydictator@gmail.com
|
||||
*
|
||||
* This software may be modified and distributed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International License.
|
||||
*
|
||||
* See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Chart;
|
||||
|
||||
use TestCase;
|
||||
|
||||
/**
|
||||
* Generated by PHPUnit_SkeletonGenerator on 2016-12-04 at 07:07:41.
|
||||
* Generated by PHPUnit_SkeletonGenerator on 2016-12-06 at 08:13:19.
|
||||
*/
|
||||
class ReportControllerTest extends TestCase
|
||||
{
|
||||
@@ -32,10 +42,10 @@ class ReportControllerTest extends TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Http\Controllers\Chart\ReportController::yearInOut
|
||||
* Implement testYearInOut().
|
||||
* @covers FireflyIII\Http\Controllers\Chart\ReportController::operations
|
||||
* Implement testOperations().
|
||||
*/
|
||||
public function testYearInOut()
|
||||
public function testOperations()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
@@ -44,10 +54,10 @@ class ReportControllerTest extends TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Http\Controllers\Chart\ReportController::yearInOutSummarized
|
||||
* Implement testYearInOutSummarized().
|
||||
* @covers FireflyIII\Http\Controllers\Chart\ReportController::sum
|
||||
* Implement testSum().
|
||||
*/
|
||||
public function testYearInOutSummarized()
|
||||
public function testSum()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
|
Reference in New Issue
Block a user