Skip to content

Firefly III: a personal finances manager

Correct namespace and location.

James Colead76afe4f691
diff --git a/tests/Feature/Console/Commands/Correction/CreateAccessTokensTest.php b/tests/Feature/Console/Commands/Correction/CreateAccessTokensTest.php
index 85cc0eaf4d..bb8de82483 100644
--- a/tests/Feature/Console/Commands/Correction/CreateAccessTokensTest.php
+++ b/tests/Feature/Console/Commands/Correction/CreateAccessTokensTest.php
@@ -22,7 +22,7 @@
declare(strict_types=1);
-namespace Tests\Unit\Console\Commands\Correction;
+namespace Tests\Feature\Console\Commands\Correction;
use FireflyIII\Models\Preference;
diff --git a/tests/Feature/Console/Commands/Correction/CreateLinkTypesTest.php b/tests/Feature/Console/Commands/Correction/CreateLinkTypesTest.php
index 2c2953e6d8..3233a1b8b9 100644
--- a/tests/Feature/Console/Commands/Correction/CreateLinkTypesTest.php
+++ b/tests/Feature/Console/Commands/Correction/CreateLinkTypesTest.php
@@ -21,7 +21,7 @@
declare(strict_types=1);
-namespace Tests\Unit\Console\Commands\Correction;
+namespace Tests\Feature\Console\Commands\Correction;
use FireflyIII\Models\LinkType;
diff --git a/tests/Feature/Console/Commands/Correction/DeleteEmptyGroupsTest.php b/tests/Feature/Console/Commands/Correction/DeleteEmptyGroupsTest.php
index 1038505866..dba0eadc02 100644
--- a/tests/Feature/Console/Commands/Correction/DeleteEmptyGroupsTest.php
+++ b/tests/Feature/Console/Commands/Correction/DeleteEmptyGroupsTest.php
@@ -21,7 +21,7 @@
declare(strict_types=1);
-namespace Tests\Unit\Console\Commands\Correction;
+namespace Tests\Feature\Console\Commands\Correction;
use FireflyIII\Models\TransactionGroup;
diff --git a/tests/Feature/Console/Commands/Correction/DeleteEmptyJournalsTest.php b/tests/Feature/Console/Commands/Correction/DeleteEmptyJournalsTest.php
index 8596c9336a..ddc379ba81 100644
--- a/tests/Feature/Console/Commands/Correction/DeleteEmptyJournalsTest.php
+++ b/tests/Feature/Console/Commands/Correction/DeleteEmptyJournalsTest.php
@@ -21,7 +21,7 @@
declare(strict_types=1);
-namespace Tests\Unit\Console\Commands\Correction;
+namespace Tests\Feature\Console\Commands\Correction;
use FireflyIII\Models\Transaction;
diff --git a/tests/Feature/Console/Commands/Correction/DeleteOrphanedTransactionsTest.php b/tests/Feature/Console/Commands/Correction/DeleteOrphanedTransactionsTest.php
index 35b64a7631..6e14ee13cc 100644
--- a/tests/Feature/Console/Commands/Correction/DeleteOrphanedTransactionsTest.php
+++ b/tests/Feature/Console/Commands/Correction/DeleteOrphanedTransactionsTest.php
@@ -21,7 +21,7 @@
declare(strict_types=1);
-namespace Tests\Unit\Console\Commands\Correction;
+namespace Tests\Feature\Console\Commands\Correction;
use FireflyIII\Models\Account;
diff --git a/tests/Feature/Console/Commands/Correction/DeleteZeroAmountTest.php b/tests/Feature/Console/Commands/Correction/DeleteZeroAmountTest.php
index 2806ff8071..11dc068ed2 100644
--- a/tests/Feature/Console/Commands/Correction/DeleteZeroAmountTest.php
+++ b/tests/Feature/Console/Commands/Correction/DeleteZeroAmountTest.php
@@ -21,7 +21,7 @@
declare(strict_types=1);
-namespace Tests\Unit\Console\Commands\Correction;
+namespace Tests\Feature\Console\Commands\Correction;
use FireflyIII\Models\Transaction;
diff --git a/tests/Feature/Console/Commands/Correction/EnableCurrenciesTest.php b/tests/Feature/Console/Commands/Correction/EnableCurrenciesTest.php
index 4974b66cfc..4661988609 100644
--- a/tests/Feature/Console/Commands/Correction/EnableCurrenciesTest.php
+++ b/tests/Feature/Console/Commands/Correction/EnableCurrenciesTest.php
@@ -21,7 +21,7 @@
declare(strict_types=1);
-namespace Tests\Unit\Console\Commands\Correction;
+namespace Tests\Feature\Console\Commands\Correction;
use FireflyIII\Models\BudgetLimit;
diff --git a/tests/Feature/Console/Commands/Correction/FixAccountTypesTest.php b/tests/Feature/Console/Commands/Correction/FixAccountTypesTest.php
index 9d2fb1a368..43f5f384fb 100644
--- a/tests/Feature/Console/Commands/Correction/FixAccountTypesTest.php
+++ b/tests/Feature/Console/Commands/Correction/FixAccountTypesTest.php
@@ -21,7 +21,7 @@
declare(strict_types=1);
-namespace Tests\Unit\Console\Commands\Correction;
+namespace Tests\Feature\Console\Commands\Correction;
use FireflyIII\Factory\AccountFactory;
diff --git a/tests/Feature/Console/Commands/Correction/FixPiggiesTest.php b/tests/Feature/Console/Commands/Correction/FixPiggiesTest.php
index ae5258f9ca..1c3874561d 100644
--- a/tests/Feature/Console/Commands/Correction/FixPiggiesTest.php
+++ b/tests/Feature/Console/Commands/Correction/FixPiggiesTest.php
@@ -21,7 +21,7 @@
declare(strict_types=1);
-namespace Tests\Unit\Console\Commands\Correction;
+namespace Tests\Feature\Console\Commands\Correction;
use FireflyIII\Models\PiggyBank;
diff --git a/tests/Feature/Console/Commands/Correction/FixUnevenAmountTest.php b/tests/Feature/Console/Commands/Correction/FixUnevenAmountTest.php
index 77e30547a5..367dce8ec3 100644
--- a/tests/Feature/Console/Commands/Correction/FixUnevenAmountTest.php
+++ b/tests/Feature/Console/Commands/Correction/FixUnevenAmountTest.php
@@ -21,7 +21,7 @@
declare(strict_types=1);
-namespace Tests\Unit\Console\Commands\Correction;
+namespace Tests\Feature\Console\Commands\Correction;
use FireflyIII\Models\Transaction;
diff --git a/tests/Feature/Console/Commands/Correction/RemoveBillsTest.php b/tests/Feature/Console/Commands/Correction/RemoveBillsTest.php
index c023a354e4..fe138d1214 100644
--- a/tests/Feature/Console/Commands/Correction/RemoveBillsTest.php
+++ b/tests/Feature/Console/Commands/Correction/RemoveBillsTest.php
@@ -21,7 +21,7 @@
declare(strict_types=1);
-namespace Tests\Unit\Console\Commands\Correction;
+namespace Tests\Feature\Console\Commands\Correction;
use FireflyIII\Models\TransactionJournal;
diff --git a/tests/Feature/Console/Commands/Correction/RenameMetaFieldsTest.php b/tests/Feature/Console/Commands/Correction/RenameMetaFieldsTest.php
index 62beed6eec..fbeba24e14 100644
--- a/tests/Feature/Console/Commands/Correction/RenameMetaFieldsTest.php
+++ b/tests/Feature/Console/Commands/Correction/RenameMetaFieldsTest.php
@@ -21,7 +21,7 @@
declare(strict_types=1);
-namespace Tests\Unit\Console\Commands\Correction;
+namespace Tests\Feature\Console\Commands\Correction;
use FireflyIII\Models\TransactionJournalMeta;
diff --git a/tests/Feature/Console/Commands/Correction/TransferBudgetsTest.php b/tests/Feature/Console/Commands/Correction/TransferBudgetsTest.php
index b552aa0904..7aa3d2659d 100644
--- a/tests/Feature/Console/Commands/Correction/TransferBudgetsTest.php
+++ b/tests/Feature/Console/Commands/Correction/TransferBudgetsTest.php
@@ -21,7 +21,7 @@
declare(strict_types=1);
-namespace Tests\Unit\Console\Commands\Correction;
+namespace Tests\Feature\Console\Commands\Correction;
use Log;
diff --git a/tests/Feature/Console/Commands/DecryptDatabaseTest.php b/tests/Feature/Console/Commands/DecryptDatabaseTest.php
index f4cd99b2ce..6f5ebc89b4 100644
--- a/tests/Feature/Console/Commands/DecryptDatabaseTest.php
+++ b/tests/Feature/Console/Commands/DecryptDatabaseTest.php
@@ -21,7 +21,7 @@
declare(strict_types=1);
-namespace Tests\Unit\Console\Commands;
+namespace Tests\Feature\Console\Commands;
use Crypt;
diff --git a/tests/Feature/Console/Commands/Integrity/ReportEmptyObjectsTest.php b/tests/Feature/Console/Commands/Integrity/ReportEmptyObjectsTest.php
index a468787a78..908e3ff3b4 100644
--- a/tests/Feature/Console/Commands/Integrity/ReportEmptyObjectsTest.php
+++ b/tests/Feature/Console/Commands/Integrity/ReportEmptyObjectsTest.php
@@ -21,7 +21,7 @@
declare(strict_types=1);
-namespace Tests\Unit\Console\Commands\Integrity;
+namespace Tests\Feature\Console\Commands\Integrity;
use FireflyIII\Models\Account;
diff --git a/tests/Feature/Console/Commands/Integrity/ReportSumTest.php b/tests/Feature/Console/Commands/Integrity/ReportSumTest.php
index a6a8a2a292..1291f03d03 100644
--- a/tests/Feature/Console/Commands/Integrity/ReportSumTest.php
+++ b/tests/Feature/Console/Commands/Integrity/ReportSumTest.php
@@ -21,7 +21,7 @@
declare(strict_types=1);
-namespace Tests\Unit\Console\Commands\Integrity;
+namespace Tests\Feature\Console\Commands\Integrity;
use FireflyIII\Models\Transaction;
diff --git a/tests/Feature/Console/Commands/Tools/ApplyRulesTest.php b/tests/Feature/Console/Commands/Tools/ApplyRulesTest.php
index 18bd309696..9f6a86ad73 100644
--- a/tests/Feature/Console/Commands/Tools/ApplyRulesTest.php
+++ b/tests/Feature/Console/Commands/Tools/ApplyRulesTest.php
@@ -21,7 +21,7 @@
declare(strict_types=1);
-namespace Tests\Unit\Console\Commands\Tools;
+namespace Tests\Feature\Console\Commands\Tools;
use FireflyIII\Helpers\Collector\GroupCollectorInterface;
diff --git a/tests/Feature/Console/Commands/Upgrade/AccountCurrenciesTest.php b/tests/Feature/Console/Commands/Upgrade/AccountCurrenciesTest.php
index 699c5f2245..c37e7e93de 100644
--- a/tests/Feature/Console/Commands/Upgrade/AccountCurrenciesTest.php
+++ b/tests/Feature/Console/Commands/Upgrade/AccountCurrenciesTest.php
@@ -21,7 +21,7 @@
declare(strict_types=1);
-namespace Tests\Unit\Console\Commands\Upgrade;
+namespace Tests\Feature\Console\Commands\Upgrade;
use FireflyConfig;
diff --git a/tests/Feature/Console/Commands/Upgrade/BackToJournalsTest.php b/tests/Feature/Console/Commands/Upgrade/BackToJournalsTest.php
index bf12852bfa..c4aac07d1b 100644
--- a/tests/Feature/Console/Commands/Upgrade/BackToJournalsTest.php
+++ b/tests/Feature/Console/Commands/Upgrade/BackToJournalsTest.php
@@ -21,7 +21,7 @@
declare(strict_types=1);
-namespace Tests\Unit\Console\Commands\Upgrade;
+namespace Tests\Feature\Console\Commands\Upgrade;
use FireflyConfig;
diff --git a/tests/Feature/Console/Commands/Upgrade/BudgetLimitCurrencyTest.php b/tests/Feature/Console/Commands/Upgrade/BudgetLimitCurrencyTest.php
index f78dbb4e32..04155169c0 100644
--- a/tests/Feature/Console/Commands/Upgrade/BudgetLimitCurrencyTest.php
+++ b/tests/Feature/Console/Commands/Upgrade/BudgetLimitCurrencyTest.php
@@ -21,7 +21,7 @@
declare(strict_types=1);
-namespace Tests\Unit\Console\Commands\Upgrade;
+namespace Tests\Feature\Console\Commands\Upgrade;
use Amount;
diff --git a/tests/Feature/Console/Commands/Upgrade/CCLiabilitiesTest.php b/tests/Feature/Console/Commands/Upgrade/CCLiabilitiesTest.php
index 0510cbcc00..3aa4005662 100644
--- a/tests/Feature/Console/Commands/Upgrade/CCLiabilitiesTest.php
+++ b/tests/Feature/Console/Commands/Upgrade/CCLiabilitiesTest.php
@@ -21,7 +21,7 @@
declare(strict_types=1);
-namespace Tests\Unit\Console\Commands\Upgrade;
+namespace Tests\Feature\Console\Commands\Upgrade;
use FireflyConfig;
diff --git a/tests/Feature/Console/Commands/Upgrade/MigrateAttachmentsTest.php b/tests/Feature/Console/Commands/Upgrade/MigrateAttachmentsTest.php
index cfcd53bd89..aa0afee4bb 100644
--- a/tests/Feature/Console/Commands/Upgrade/MigrateAttachmentsTest.php
+++ b/tests/Feature/Console/Commands/Upgrade/MigrateAttachmentsTest.php
@@ -21,7 +21,7 @@
declare(strict_types=1);
-namespace Tests\Unit\Console\Commands\Upgrade;
+namespace Tests\Feature\Console\Commands\Upgrade;
use FireflyConfig;
diff --git a/tests/Feature/Console/Commands/Upgrade/MigrateJournalNotesTest.php b/tests/Feature/Console/Commands/Upgrade/MigrateJournalNotesTest.php
index 72424a451d..22c86ec0f5 100644
--- a/tests/Feature/Console/Commands/Upgrade/MigrateJournalNotesTest.php
+++ b/tests/Feature/Console/Commands/Upgrade/MigrateJournalNotesTest.php
@@ -21,7 +21,7 @@
declare(strict_types=1);
-namespace Tests\Unit\Console\Commands\Upgrade;
+namespace Tests\Feature\Console\Commands\Upgrade;
use FireflyConfig;
diff --git a/tests/Feature/Console/Commands/Upgrade/MigrateToGroupsTest.php b/tests/Feature/Console/Commands/Upgrade/MigrateToGroupsTest.php
index be59699e3d..2ee7a01541 100644
--- a/tests/Feature/Console/Commands/Upgrade/MigrateToGroupsTest.php
+++ b/tests/Feature/Console/Commands/Upgrade/MigrateToGroupsTest.php
@@ -21,7 +21,7 @@
declare(strict_types=1);
-namespace Tests\Unit\Console\Commands\Upgrade;
+namespace Tests\Feature\Console\Commands\Upgrade;
use FireflyConfig;
use FireflyIII\Factory\TransactionGroupFactory;
diff --git a/tests/Feature/Console/Commands/Upgrade/MigrateToRulesTest.php b/tests/Feature/Console/Commands/Upgrade/MigrateToRulesTest.php
index 8973cae8b0..8d3e6159d3 100644
--- a/tests/Feature/Console/Commands/Upgrade/MigrateToRulesTest.php
+++ b/tests/Feature/Console/Commands/Upgrade/MigrateToRulesTest.php
@@ -21,7 +21,7 @@
declare(strict_types=1);
-namespace Tests\Unit\Console\Commands\Upgrade;
+namespace Tests\Feature\Console\Commands\Upgrade;
use FireflyConfig;
diff --git a/tests/Feature/Console/Commands/Upgrade/OtherCurrenciesCorrectionsTest.php b/tests/Feature/Console/Commands/Upgrade/OtherCurrenciesCorrectionsTest.php
index 2a90ba3769..250b0b3c85 100644
--- a/tests/Feature/Console/Commands/Upgrade/OtherCurrenciesCorrectionsTest.php
+++ b/tests/Feature/Console/Commands/Upgrade/OtherCurrenciesCorrectionsTest.php
@@ -21,7 +21,7 @@
declare(strict_types=1);
-namespace Tests\Unit\Console\Commands\Upgrade;
+namespace Tests\Feature\Console\Commands\Upgrade;
use FireflyConfig;
diff --git a/tests/Feature/Console/Commands/Upgrade/RenameAccountMetaTest.php b/tests/Feature/Console/Commands/Upgrade/RenameAccountMetaTest.php
index d20416aaf9..f678f7725c 100644
--- a/tests/Feature/Console/Commands/Upgrade/RenameAccountMetaTest.php
+++ b/tests/Feature/Console/Commands/Upgrade/RenameAccountMetaTest.php
@@ -21,7 +21,7 @@
declare(strict_types=1);
-namespace Tests\Unit\Console\Commands\Upgrade;
+namespace Tests\Feature\Console\Commands\Upgrade;
use FireflyConfig;
diff --git a/tests/Feature/Console/Commands/Upgrade/TransactionIdentifierTest.php b/tests/Feature/Console/Commands/Upgrade/TransactionIdentifierTest.php
index 74588f954e..619cc05a09 100644
--- a/tests/Feature/Console/Commands/Upgrade/TransactionIdentifierTest.php
+++ b/tests/Feature/Console/Commands/Upgrade/TransactionIdentifierTest.php
@@ -21,7 +21,7 @@
declare(strict_types=1);
-namespace Tests\Unit\Console\Commands\Upgrade;
+namespace Tests\Feature\Console\Commands\Upgrade;
use FireflyConfig;
diff --git a/tests/Feature/Console/Commands/Upgrade/TransferCurrenciesCorrectionsTest.php b/tests/Feature/Console/Commands/Upgrade/TransferCurrenciesCorrectionsTest.php
index 4ed386c3c3..322eebdffc 100644
--- a/tests/Feature/Console/Commands/Upgrade/TransferCurrenciesCorrectionsTest.php
+++ b/tests/Feature/Console/Commands/Upgrade/TransferCurrenciesCorrectionsTest.php
@@ -21,7 +21,7 @@
declare(strict_types=1);
-namespace Tests\Unit\Console\Commands\Upgrade;
+namespace Tests\Feature\Console\Commands\Upgrade;
use FireflyConfig;
diff --git a/tests/Feature/Controllers/Budget/IndexControllerTest.php b/tests/Feature/Controllers/Budget/IndexControllerTest.php
index f252f7b20e..51136bcc98 100644
--- a/tests/Feature/Controllers/Budget/IndexControllerTest.php
+++ b/tests/Feature/Controllers/Budget/IndexControllerTest.php
@@ -52,7 +52,6 @@ use Tests\TestCase;
*/
class IndexControllerTest extends TestCase
{
- use TestDataTrait;
/**
*
*/
diff --git a/tests/Feature/Controllers/Chart/BudgetControllerTest.php b/tests/Feature/Controllers/Chart/BudgetControllerTest.php
index a3eeb9d907..c809c9f54e 100644
--- a/tests/Feature/Controllers/Chart/BudgetControllerTest.php
+++ b/tests/Feature/Controllers/Chart/BudgetControllerTest.php
@@ -49,7 +49,6 @@ use Tests\TestCase;
*/
class BudgetControllerTest extends TestCase
{
- use TestDataTrait;
/**
*
*/
diff --git a/tests/Feature/Controllers/Chart/BudgetReportControllerTest.php b/tests/Feature/Controllers/Chart/BudgetReportControllerTest.php
index e6f7888060..5e0ed6299d 100644
--- a/tests/Feature/Controllers/Chart/BudgetReportControllerTest.php
+++ b/tests/Feature/Controllers/Chart/BudgetReportControllerTest.php
@@ -45,7 +45,6 @@ use Tests\TestCase;
*/
class BudgetReportControllerTest extends TestCase
{
- use TestDataTrait;
/**
*
diff --git a/tests/Feature/Controllers/Chart/CategoryControllerTest.php b/tests/Feature/Controllers/Chart/CategoryControllerTest.php
index 0dbe313f6a..e0e50c9c37 100644
--- a/tests/Feature/Controllers/Chart/CategoryControllerTest.php
+++ b/tests/Feature/Controllers/Chart/CategoryControllerTest.php
@@ -47,7 +47,6 @@ use Tests\TestCase;
*/
class CategoryControllerTest extends TestCase
{
- use TestDataTrait;
/**
*
diff --git a/tests/Feature/Controllers/Chart/CategoryReportControllerTest.php b/tests/Feature/Controllers/Chart/CategoryReportControllerTest.php
index 8453efd8d0..ac28ea7ae5 100644
--- a/tests/Feature/Controllers/Chart/CategoryReportControllerTest.php
+++ b/tests/Feature/Controllers/Chart/CategoryReportControllerTest.php
@@ -42,7 +42,6 @@ use Tests\TestCase;
*/
class CategoryReportControllerTest extends TestCase
{
- use TestDataTrait;
/**
*
*/
diff --git a/tests/Feature/Controllers/Chart/TagReportControllerTest.php b/tests/Feature/Controllers/Chart/TagReportControllerTest.php
index 7fb1d6c12c..54fab76315 100644
--- a/tests/Feature/Controllers/Chart/TagReportControllerTest.php
+++ b/tests/Feature/Controllers/Chart/TagReportControllerTest.php
@@ -45,7 +45,6 @@ use Tests\TestCase;
*/
class TagReportControllerTest extends TestCase
{
- use TestDataTrait;
/**
*
*/
diff --git a/tests/Feature/Controllers/Report/BudgetControllerTest.php b/tests/Feature/Controllers/Report/BudgetControllerTest.php
index c879f1e4d5..85fe737bac 100644
--- a/tests/Feature/Controllers/Report/BudgetControllerTest.php
+++ b/tests/Feature/Controllers/Report/BudgetControllerTest.php
@@ -44,7 +44,6 @@ use Tests\TestCase;
*/
class BudgetControllerTest extends TestCase
{
- use TestDataTrait;
/**
*
*/
diff --git a/tests/Feature/Controllers/Report/CategoryControllerTest.php b/tests/Feature/Controllers/Report/CategoryControllerTest.php
index 976a756b49..de01eeef67 100644
--- a/tests/Feature/Controllers/Report/CategoryControllerTest.php
+++ b/tests/Feature/Controllers/Report/CategoryControllerTest.php
@@ -43,7 +43,6 @@ use Tests\TestCase;
*/
class CategoryControllerTest extends TestCase
{
- use TestDataTrait;
/**
*
*/
diff --git a/tests/Unit/Support/AmountTest.php b/tests/Unit/Support/AmountTest.php
index acaeb3ade7..53ee370db4 100644
--- a/tests/Unit/Support/AmountTest.php
+++ b/tests/Unit/Support/AmountTest.php
@@ -1,6 +1,6 @@
<?php
-namespace Tests\Support;
+namespace Tests\Feature\Support;
use FireflyIII\Support\Amount;
use Tests\TestCase;
diff --git a/tests/Unit/Transformers/CategoryTransformerTest.php b/tests/Unit/Transformers/CategoryTransformerTest.php
index 453ccfaabd..dca71868be 100644
--- a/tests/Unit/Transformers/CategoryTransformerTest.php
+++ b/tests/Unit/Transformers/CategoryTransformerTest.php
@@ -41,7 +41,6 @@ use Tests\TestCase;
*/
class CategoryTransformerTest extends TestCase
{
- use TestDataTrait;
/**
*