mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-18 02:03:40 +00:00
Some code cleanup.
This commit is contained in:
@@ -76,6 +76,7 @@ class ChartBudgetControllerTest extends TestCase
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Http\Controllers\Chart\BudgetController::frontpage
|
||||
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
|
||||
*/
|
||||
public function testFrontpage()
|
||||
{
|
||||
|
@@ -8,6 +8,8 @@ use League\FactoryMuffin\Facade as FactoryMuffin;
|
||||
|
||||
/**
|
||||
* Class ReminderHelperTest
|
||||
*
|
||||
* @SuppressWarnings(PHPMD.TooManyMethods)
|
||||
*/
|
||||
class ReminderHelperTest extends TestCase
|
||||
{
|
||||
|
@@ -107,6 +107,7 @@ class ReportHelperTest extends TestCase
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Helpers\Report\ReportHelper::getBillReport
|
||||
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
|
||||
*/
|
||||
public function testGetBillReport()
|
||||
{
|
||||
@@ -214,6 +215,7 @@ class ReportHelperTest extends TestCase
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Helpers\Report\ReportHelper::getExpenseReport
|
||||
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
|
||||
*/
|
||||
public function testGetExpenseReport()
|
||||
{
|
||||
@@ -278,6 +280,7 @@ class ReportHelperTest extends TestCase
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Helpers\Report\ReportHelper::getIncomeReport
|
||||
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
|
||||
*/
|
||||
public function testGetIncomeReport()
|
||||
{
|
||||
|
@@ -40,6 +40,7 @@ class ReportQueryTest extends TestCase
|
||||
/**
|
||||
* @covers FireflyIII\Helpers\Report\ReportQuery::expenseInPeriodCorrected
|
||||
* @covers FireflyIII\Helpers\Report\ReportQuery::queryJournalsWithTransactions
|
||||
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
|
||||
*/
|
||||
public function testExpenseInPeriodCorrected()
|
||||
{
|
||||
@@ -108,6 +109,7 @@ class ReportQueryTest extends TestCase
|
||||
/**
|
||||
* @covers FireflyIII\Helpers\Report\ReportQuery::expenseInPeriodCorrected
|
||||
* @covers FireflyIII\Helpers\Report\ReportQuery::queryJournalsWithTransactions
|
||||
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
|
||||
*/
|
||||
public function testExpenseInPeriodCorrectedShared()
|
||||
{
|
||||
@@ -228,6 +230,7 @@ class ReportQueryTest extends TestCase
|
||||
/**
|
||||
* @covers FireflyIII\Helpers\Report\ReportQuery::incomeInPeriodCorrected
|
||||
* @covers FireflyIII\Helpers\Report\ReportQuery::queryJournalsWithTransactions
|
||||
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
|
||||
*/
|
||||
public function testIncomeInPeriodCorrected()
|
||||
{
|
||||
@@ -295,6 +298,7 @@ class ReportQueryTest extends TestCase
|
||||
/**
|
||||
* @covers FireflyIII\Helpers\Report\ReportQuery::incomeInPeriodCorrected
|
||||
* @covers FireflyIII\Helpers\Report\ReportQuery::queryJournalsWithTransactions
|
||||
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
|
||||
*/
|
||||
public function testIncomeInPeriodCorrectedShared()
|
||||
{
|
||||
|
@@ -69,7 +69,7 @@ class AccountModelTest extends TestCase
|
||||
{
|
||||
// create account:
|
||||
$account = FactoryMuffin::create('FireflyIII\Models\Account');
|
||||
$user = FactoryMuffin::create('FireflyIII\User');
|
||||
FactoryMuffin::create('FireflyIII\User');
|
||||
|
||||
// search for account with the same properties:
|
||||
$search = [
|
||||
@@ -118,7 +118,7 @@ class AccountModelTest extends TestCase
|
||||
{
|
||||
// create account:
|
||||
$account = FactoryMuffin::create('FireflyIII\Models\Account');
|
||||
$user = FactoryMuffin::create('FireflyIII\User');
|
||||
FactoryMuffin::create('FireflyIII\User');
|
||||
|
||||
// search for account with the same properties:
|
||||
$search = [
|
||||
|
@@ -5,6 +5,7 @@ use League\FactoryMuffin\Facade as FactoryMuffin;
|
||||
|
||||
/**
|
||||
* Class TransactionJournalModelTest
|
||||
* @SuppressWarnings(PHPMD.TooManyMethods)
|
||||
*/
|
||||
class TransactionJournalModelTest extends TestCase
|
||||
{
|
||||
|
@@ -80,6 +80,7 @@ class CategoryRepositoryTest extends TestCase
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Repositories\Category\CategoryRepository::getCategoriesAndExpensesCorrected
|
||||
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
|
||||
*/
|
||||
public function testGetCategoriesAndExpensesCorrected()
|
||||
{
|
||||
|
Reference in New Issue
Block a user