From 674af51eeaa595e1d615f19fd314d58921337580 Mon Sep 17 00:00:00 2001 From: Dillon-Brown Date: Fri, 26 Mar 2021 16:08:17 +0000 Subject: [PATCH] Update test namespaces Signed-off-by: Dillon-Brown --- .../legacy/Data/ListDataQueryHandlerMock.php | 2 +- .../AssignedUserOpportunitiesCountMock.php | 2 +- .../legacy/Statistics/CaseDaysOpenMock.php | 2 +- .../legacy/Statistics/CasesPerAccountMock.php | 2 +- .../Statistics/DaysUntilDueTaskMock.php | 2 +- .../legacy/Statistics/LeadDaysOpenMock.php | 2 +- .../OpportunitySalesStageTimeSpanMock.php | 2 +- .../OpportunitySizeAnalysisMock.php | 2 +- .../Series/AccountsNewByMonthMock.php | 2 +- .../Series/LeadsByStatusCountMock.php | 2 +- .../OpportunitiesBySalesStagePipelineMock.php | 2 +- .../SubPanelActivitiesNextDateMock.php | 2 +- .../SubPanelCampaignLastReceivedMock.php | 2 +- .../Statistics/SubPanelCasesCountMock.php | 2 +- .../SubPanelContractsRenewalDateMock.php | 2 +- .../Statistics/SubPanelEventsLastDateMock.php | 2 +- .../SubPanelHistoryLastDateMock.php | 2 +- .../Statistics/SubPanelInvoicesTotalMock.php | 2 +- .../Statistics/SubPanelQuotesTotalMock.php | 2 +- .../SubpanelOpportunitiesTotalMock.php | 2 +- .../WonOpportunityAmountByYearMock.php | 2 +- .../legacy/ViewDefinitionsHandlerMock.php | 2 +- tests/_support/Helper/Unit.php | 2 +- tests/_support/UnitTester.php | 2 +- tests/bootstrap.php | 8 ++-- tests/unit/core/legacy/AclHandlerTest.php | 4 +- .../core/legacy/AppListStringsHandlerTest.php | 4 +- .../core/legacy/AppStringsHandlerTest.php | 4 +- ...lassicViewRoutingExclusionsHandlerTest.php | 2 +- .../unit/core/legacy/CurrencyHandlerTest.php | 2 +- .../legacy/FieldDefinitionHandlerTest.php | 10 ++--- .../FieldDefinitionMappersTest.php | 8 ++-- .../GroupedFieldDefinitionMapperTest.php | 4 +- ...LegacyGroupedFieldDefinitionMapperTest.php | 2 +- .../core/legacy/ModStringsHandlerTest.php | 8 ++-- .../core/legacy/ModuleRegistryHandlerTest.php | 2 +- tests/unit/core/legacy/NavbarTest.php | 12 +++--- .../AssignedUserOpportunitiesCountTest.php | 4 +- .../legacy/Statistics/CaseDaysOpenTest.php | 2 +- .../legacy/Statistics/CasesPerAccountTest.php | 2 +- .../Statistics/DaysUntilDueTaskTest.php | 2 +- .../legacy/Statistics/LeadDaysOpenTest.php | 2 +- .../OpportunitySalesStageTimeSpanTest.php | 2 +- .../OpportunitySizeAnalysisTest.php | 4 +- .../Series/AccountsNewByMonthTest.php | 8 ++-- .../Series/LeadByStatusCountTest.php | 8 ++-- .../OpportunitiesBySalesStagePipelineTest.php | 8 ++-- .../SubPanelActivitiesNextDateTest.php | 2 +- .../SubPanelCampaignLastReceivedTest.php | 2 +- .../Statistics/SubPanelCasesCountTest.php | 2 +- .../SubPanelContractsRenewalDateTest.php | 2 +- .../Statistics/SubPanelEventsLastDateTest.php | 2 +- .../SubPanelHistoryLastDateTest.php | 2 +- .../Statistics/SubPanelInvoicesTotalTest.php | 2 +- .../Statistics/SubPanelQuotesTotalTest.php | 2 +- .../SubpanelOpportunitiesTotalTest.php | 2 +- .../WonOpportunityAmountByYearTest.php | 2 +- .../DateFormatConfigMapperTest.php | 4 +- .../DefaultCurrencyConfigMapperTest.php | 6 +-- .../DefaultModuleConfigMapperTest.php | 6 +-- .../SystemConfig/SystemConfigMappersTest.php | 6 +-- .../TimeFormatConfigMapperTest.php | 4 +- .../core/legacy/SystemConfigHandlerTest.php | 18 ++++----- .../legacy/UserPreferencesHandlerTest.php | 12 +++--- .../legacy/ViewDefinitionsHandlerTest.php | 38 +++++++++---------- .../LegacySessionDenyAccessListenerTest.php | 2 +- .../LegacySessionLogoutHandlerTest.php | 2 +- .../LegacySessionSecurityStageTest.php | 2 +- .../core/src/Service/ActionNameMapperTest.php | 4 +- .../BulkActionDefinitionProviderTest.php | 6 +-- .../DeleteRecordsBulkActionTest.php | 8 ++-- .../MergeRecordsBulkActionTest.php | 6 +-- .../Service/LegacyApiRedirectHandlerTest.php | 2 +- .../LegacyAssetRedirectHandlerTest.php | 2 +- ...LegacyNonViewActionRedirectHandlerTest.php | 8 ++-- ...iewSidebarWidgetDefinitionProviderTest.php | 6 +-- .../core/src/Service/ModuleNameMapperTest.php | 4 +- .../RecordActionDefinitionProviderTest.php | 6 +-- .../RecordActions/ConvertLeadActionTest.php | 6 +-- .../RecordActions/DeleteRecordActionTest.php | 8 ++-- .../DuplicateRecordActionTest.php | 6 +-- .../core/src/Service/RouteConverterTest.php | 8 ++-- .../src/Service/ThemeImageServiceTest.php | 4 +- 83 files changed, 182 insertions(+), 182 deletions(-) diff --git a/tests/_mock/Mock/core/legacy/Data/ListDataQueryHandlerMock.php b/tests/_mock/Mock/core/legacy/Data/ListDataQueryHandlerMock.php index f69c2a5ff..f2839c9aa 100644 --- a/tests/_mock/Mock/core/legacy/Data/ListDataQueryHandlerMock.php +++ b/tests/_mock/Mock/core/legacy/Data/ListDataQueryHandlerMock.php @@ -2,7 +2,7 @@ namespace App\Tests\_mock\Mock\core\legacy\Data; -use App\Legacy\Data\ListDataQueryHandler; +use App\Data\LegacyHandler\ListDataQueryHandler; use SugarBean; class ListDataQueryHandlerMock extends ListDataQueryHandler diff --git a/tests/_mock/Mock/core/legacy/Statistics/AssignedUserOpportunitiesCountMock.php b/tests/_mock/Mock/core/legacy/Statistics/AssignedUserOpportunitiesCountMock.php index 5b95e3621..78c3b1e06 100644 --- a/tests/_mock/Mock/core/legacy/Statistics/AssignedUserOpportunitiesCountMock.php +++ b/tests/_mock/Mock/core/legacy/Statistics/AssignedUserOpportunitiesCountMock.php @@ -2,7 +2,7 @@ namespace Mock\Core\Legacy\Statistics; -use App\Legacy\Statistics\AssignedUserOpportunitiesCount; +use App\Module\Users\Statistics\AssignedUserOpportunitiesCount; use App\Tests\_mock\Helpers\core\legacy\Data\DBQueryResultsMocking; use BeanFactory; use Opportunity; diff --git a/tests/_mock/Mock/core/legacy/Statistics/CaseDaysOpenMock.php b/tests/_mock/Mock/core/legacy/Statistics/CaseDaysOpenMock.php index ee5aaa93c..064eb69b2 100644 --- a/tests/_mock/Mock/core/legacy/Statistics/CaseDaysOpenMock.php +++ b/tests/_mock/Mock/core/legacy/Statistics/CaseDaysOpenMock.php @@ -3,7 +3,7 @@ namespace App\Tests\_mock\Mock\core\legacy\Statistics; use aCase; -use App\Legacy\Statistics\CaseDaysOpen; +use App\Module\Cases\Statistics\CaseDaysOpen; use App\Tests\_mock\Helpers\core\legacy\Data\DBQueryResultsMocking; use Doctrine\ORM\EntityManagerInterface; use SugarBean; diff --git a/tests/_mock/Mock/core/legacy/Statistics/CasesPerAccountMock.php b/tests/_mock/Mock/core/legacy/Statistics/CasesPerAccountMock.php index 99fe54cef..4659a2489 100644 --- a/tests/_mock/Mock/core/legacy/Statistics/CasesPerAccountMock.php +++ b/tests/_mock/Mock/core/legacy/Statistics/CasesPerAccountMock.php @@ -3,7 +3,7 @@ namespace Mock\Core\Legacy\Statistics; use aCase; -use App\Legacy\Statistics\CasesPerAccount; +use App\Module\Cases\Statistics\CasesPerAccount; use App\Tests\_mock\Helpers\core\legacy\Data\DBQueryResultsMocking; use BeanFactory; diff --git a/tests/_mock/Mock/core/legacy/Statistics/DaysUntilDueTaskMock.php b/tests/_mock/Mock/core/legacy/Statistics/DaysUntilDueTaskMock.php index 71c9cba71..ee8160ad1 100644 --- a/tests/_mock/Mock/core/legacy/Statistics/DaysUntilDueTaskMock.php +++ b/tests/_mock/Mock/core/legacy/Statistics/DaysUntilDueTaskMock.php @@ -2,7 +2,7 @@ namespace App\Tests\_mock\Mock\core\legacy\Statistics; -use App\Legacy\Statistics\DaysUntilDueTask; +use App\Module\Tasks\Statistics\DaysUntilDueTask; use App\Tests\_mock\Helpers\core\legacy\Data\DBQueryResultsMocking; use Task; diff --git a/tests/_mock/Mock/core/legacy/Statistics/LeadDaysOpenMock.php b/tests/_mock/Mock/core/legacy/Statistics/LeadDaysOpenMock.php index 49c9d6547..e2272f9c8 100644 --- a/tests/_mock/Mock/core/legacy/Statistics/LeadDaysOpenMock.php +++ b/tests/_mock/Mock/core/legacy/Statistics/LeadDaysOpenMock.php @@ -2,7 +2,7 @@ namespace App\Tests\_mock\Mock\core\legacy\Statistics; -use App\Legacy\Statistics\LeadDaysOpen; +use App\Module\Leads\Statistics\LeadDaysOpen; use App\Tests\_mock\Helpers\core\legacy\Data\DBQueryResultsMocking; use Doctrine\ORM\EntityManagerInterface; use Lead; diff --git a/tests/_mock/Mock/core/legacy/Statistics/OpportunitySalesStageTimeSpanMock.php b/tests/_mock/Mock/core/legacy/Statistics/OpportunitySalesStageTimeSpanMock.php index e3351bfd7..970f63f04 100644 --- a/tests/_mock/Mock/core/legacy/Statistics/OpportunitySalesStageTimeSpanMock.php +++ b/tests/_mock/Mock/core/legacy/Statistics/OpportunitySalesStageTimeSpanMock.php @@ -2,7 +2,7 @@ namespace App\Tests\_mock\Mock\core\legacy\Statistics; -use App\Legacy\Statistics\OpportunitySalesStageTimeSpan; +use App\Module\Opportunities\Statistics\OpportunitySalesStageTimeSpan; use App\Tests\_mock\Helpers\core\legacy\Data\DBQueryResultsMocking; use Doctrine\ORM\EntityManagerInterface; use Opportunity; diff --git a/tests/_mock/Mock/core/legacy/Statistics/OpportunitySizeAnalysisMock.php b/tests/_mock/Mock/core/legacy/Statistics/OpportunitySizeAnalysisMock.php index d7e296ea9..505fa0d03 100644 --- a/tests/_mock/Mock/core/legacy/Statistics/OpportunitySizeAnalysisMock.php +++ b/tests/_mock/Mock/core/legacy/Statistics/OpportunitySizeAnalysisMock.php @@ -2,7 +2,7 @@ namespace Mock\Core\Legacy\Statistics; -use App\Legacy\Statistics\OpportunitySizeAnalysis; +use App\Module\Opportunities\Statistics\OpportunitySizeAnalysis; use App\Tests\_mock\Helpers\core\legacy\Data\DBQueryResultsMocking; use BeanFactory; use Opportunity; diff --git a/tests/_mock/Mock/core/legacy/Statistics/Series/AccountsNewByMonthMock.php b/tests/_mock/Mock/core/legacy/Statistics/Series/AccountsNewByMonthMock.php index aa73287c9..05900afa0 100644 --- a/tests/_mock/Mock/core/legacy/Statistics/Series/AccountsNewByMonthMock.php +++ b/tests/_mock/Mock/core/legacy/Statistics/Series/AccountsNewByMonthMock.php @@ -2,7 +2,7 @@ namespace App\Tests\_mock\Mock\core\legacy\Statistics\Series; -use App\Legacy\Statistics\Series\AccountsNewByMonth; +use App\Module\Accounts\Statistics\Series\AccountsNewByMonth; use App\Tests\_mock\Helpers\core\legacy\Data\DBQueryResultsMocking; use SugarBean; diff --git a/tests/_mock/Mock/core/legacy/Statistics/Series/LeadsByStatusCountMock.php b/tests/_mock/Mock/core/legacy/Statistics/Series/LeadsByStatusCountMock.php index 197fc18a4..2d510beea 100644 --- a/tests/_mock/Mock/core/legacy/Statistics/Series/LeadsByStatusCountMock.php +++ b/tests/_mock/Mock/core/legacy/Statistics/Series/LeadsByStatusCountMock.php @@ -2,7 +2,7 @@ namespace App\Tests\_mock\Mock\core\legacy\Statistics\Series; -use App\Legacy\Statistics\Series\LeadsByStatusCount; +use App\Module\Leads\Statistics\Series\LeadsByStatusCount; use App\Tests\_mock\Helpers\core\legacy\Data\DBQueryResultsMocking; use SugarBean; diff --git a/tests/_mock/Mock/core/legacy/Statistics/Series/OpportunitiesBySalesStagePipelineMock.php b/tests/_mock/Mock/core/legacy/Statistics/Series/OpportunitiesBySalesStagePipelineMock.php index 19e70d5fc..23a548957 100644 --- a/tests/_mock/Mock/core/legacy/Statistics/Series/OpportunitiesBySalesStagePipelineMock.php +++ b/tests/_mock/Mock/core/legacy/Statistics/Series/OpportunitiesBySalesStagePipelineMock.php @@ -2,7 +2,7 @@ namespace App\Tests\_mock\Mock\core\legacy\Statistics\Series; -use App\Legacy\Statistics\Series\OpportunitiesBySalesStagePipeline; +use App\Module\Opportunities\Statistics\Series\OpportunitiesBySalesStagePipeline; use App\Tests\_mock\Helpers\core\legacy\Data\DBQueryResultsMocking; use SugarBean; diff --git a/tests/_mock/Mock/core/legacy/Statistics/SubPanelActivitiesNextDateMock.php b/tests/_mock/Mock/core/legacy/Statistics/SubPanelActivitiesNextDateMock.php index fd1e80ec9..99d6b9c1f 100644 --- a/tests/_mock/Mock/core/legacy/Statistics/SubPanelActivitiesNextDateMock.php +++ b/tests/_mock/Mock/core/legacy/Statistics/SubPanelActivitiesNextDateMock.php @@ -2,7 +2,7 @@ namespace App\Tests\_mock\Mock\core\legacy\Statistics; -use App\Legacy\Statistics\SubPanelActivitiesNextDate; +use App\Module\Activities\Statistics\Subpanels\SubPanelActivitiesNextDate; use App\Tests\_mock\Helpers\core\legacy\Data\DBQueryResultsMocking; /** diff --git a/tests/_mock/Mock/core/legacy/Statistics/SubPanelCampaignLastReceivedMock.php b/tests/_mock/Mock/core/legacy/Statistics/SubPanelCampaignLastReceivedMock.php index b337a6ed4..afec419e8 100644 --- a/tests/_mock/Mock/core/legacy/Statistics/SubPanelCampaignLastReceivedMock.php +++ b/tests/_mock/Mock/core/legacy/Statistics/SubPanelCampaignLastReceivedMock.php @@ -2,7 +2,7 @@ namespace App\Tests\_mock\Mock\core\legacy\Statistics; -use App\Legacy\Statistics\SubPanelCampaignsLastReceived; +use App\Module\Campaigns\Statistics\Subpanels\SubPanelCampaignsLastReceived; use App\Tests\_mock\Helpers\core\legacy\Data\DBQueryResultsMocking; /** diff --git a/tests/_mock/Mock/core/legacy/Statistics/SubPanelCasesCountMock.php b/tests/_mock/Mock/core/legacy/Statistics/SubPanelCasesCountMock.php index 59c1be8fa..9f1ff0a8c 100644 --- a/tests/_mock/Mock/core/legacy/Statistics/SubPanelCasesCountMock.php +++ b/tests/_mock/Mock/core/legacy/Statistics/SubPanelCasesCountMock.php @@ -2,7 +2,7 @@ namespace App\Tests\_mock\Mock\core\legacy\Statistics; -use App\Legacy\Statistics\SubPanelCasesCount; +use App\Module\Cases\Statistics\Subpanels\SubPanelCasesCount; use App\Tests\_mock\Helpers\core\legacy\Data\DBQueryResultsMocking; /** diff --git a/tests/_mock/Mock/core/legacy/Statistics/SubPanelContractsRenewalDateMock.php b/tests/_mock/Mock/core/legacy/Statistics/SubPanelContractsRenewalDateMock.php index b7946756b..64fb1c8b5 100644 --- a/tests/_mock/Mock/core/legacy/Statistics/SubPanelContractsRenewalDateMock.php +++ b/tests/_mock/Mock/core/legacy/Statistics/SubPanelContractsRenewalDateMock.php @@ -2,7 +2,7 @@ namespace App\Tests\_mock\Mock\core\legacy\Statistics; -use App\Legacy\Statistics\SubPanelContractsRenewalDate; +use App\Module\Contracts\Statistics\Subpanels\SubPanelContractsRenewalDate; use App\Tests\_mock\Helpers\core\legacy\Data\DBQueryResultsMocking; /** diff --git a/tests/_mock/Mock/core/legacy/Statistics/SubPanelEventsLastDateMock.php b/tests/_mock/Mock/core/legacy/Statistics/SubPanelEventsLastDateMock.php index 40c78c50b..b1962e69c 100644 --- a/tests/_mock/Mock/core/legacy/Statistics/SubPanelEventsLastDateMock.php +++ b/tests/_mock/Mock/core/legacy/Statistics/SubPanelEventsLastDateMock.php @@ -2,7 +2,7 @@ namespace App\Tests\_mock\Mock\core\legacy\Statistics; -use App\Legacy\Statistics\SubPanelEventsLastDate; +use App\Module\Events\Statistics\Subpanels\SubPanelEventsLastDate; use App\Tests\_mock\Helpers\core\legacy\Data\DBQueryResultsMocking; /** diff --git a/tests/_mock/Mock/core/legacy/Statistics/SubPanelHistoryLastDateMock.php b/tests/_mock/Mock/core/legacy/Statistics/SubPanelHistoryLastDateMock.php index c2c628441..675546e9f 100644 --- a/tests/_mock/Mock/core/legacy/Statistics/SubPanelHistoryLastDateMock.php +++ b/tests/_mock/Mock/core/legacy/Statistics/SubPanelHistoryLastDateMock.php @@ -2,7 +2,7 @@ namespace App\Tests\_mock\Mock\core\legacy\Statistics; -use App\Legacy\Statistics\SubPanelHistoryLastDate; +use App\Module\History\Statistics\Subpanels\SubPanelHistoryLastDate; use App\Tests\_mock\Helpers\core\legacy\Data\DBQueryResultsMocking; /** diff --git a/tests/_mock/Mock/core/legacy/Statistics/SubPanelInvoicesTotalMock.php b/tests/_mock/Mock/core/legacy/Statistics/SubPanelInvoicesTotalMock.php index abd611cc0..865fbd1b1 100644 --- a/tests/_mock/Mock/core/legacy/Statistics/SubPanelInvoicesTotalMock.php +++ b/tests/_mock/Mock/core/legacy/Statistics/SubPanelInvoicesTotalMock.php @@ -2,7 +2,7 @@ namespace App\Tests\_mock\Mock\core\legacy\Statistics; -use App\Legacy\Statistics\SubPanelInvoicesTotal; +use App\Module\Invoices\Statistics\Subpanels\SubPanelInvoicesTotal; use App\Tests\_mock\Helpers\core\legacy\Data\DBQueryResultsMocking; /** diff --git a/tests/_mock/Mock/core/legacy/Statistics/SubPanelQuotesTotalMock.php b/tests/_mock/Mock/core/legacy/Statistics/SubPanelQuotesTotalMock.php index 6c32f4048..8cc7290cb 100644 --- a/tests/_mock/Mock/core/legacy/Statistics/SubPanelQuotesTotalMock.php +++ b/tests/_mock/Mock/core/legacy/Statistics/SubPanelQuotesTotalMock.php @@ -2,7 +2,7 @@ namespace App\Tests\_mock\Mock\core\legacy\Statistics; -use App\Legacy\Statistics\SubPanelQuotesTotal; +use App\Module\Quotes\Statistics\Subpanels\SubPanelQuotesTotal; use App\Tests\_mock\Helpers\core\legacy\Data\DBQueryResultsMocking; /** diff --git a/tests/_mock/Mock/core/legacy/Statistics/SubpanelOpportunitiesTotalMock.php b/tests/_mock/Mock/core/legacy/Statistics/SubpanelOpportunitiesTotalMock.php index 39e783657..1b94f5a04 100644 --- a/tests/_mock/Mock/core/legacy/Statistics/SubpanelOpportunitiesTotalMock.php +++ b/tests/_mock/Mock/core/legacy/Statistics/SubpanelOpportunitiesTotalMock.php @@ -2,7 +2,7 @@ namespace App\Tests\_mock\Mock\core\legacy\Statistics; -use App\Legacy\Statistics\SubpanelOpportunitiesTotal; +use App\Module\Opportunities\Statistics\Subpanels\SubpanelOpportunitiesTotal; use App\Tests\_mock\Helpers\core\legacy\Data\DBQueryResultsMocking; /** diff --git a/tests/_mock/Mock/core/legacy/Statistics/WonOpportunityAmountByYearMock.php b/tests/_mock/Mock/core/legacy/Statistics/WonOpportunityAmountByYearMock.php index 807b6d424..4830f4ea8 100644 --- a/tests/_mock/Mock/core/legacy/Statistics/WonOpportunityAmountByYearMock.php +++ b/tests/_mock/Mock/core/legacy/Statistics/WonOpportunityAmountByYearMock.php @@ -2,7 +2,7 @@ namespace App\Tests\_mock\Mock\core\legacy\Statistics; -use App\Legacy\Statistics\WonOpportunityAmountByYear; +use App\Module\Opportunities\Statistics\WonOpportunityAmountByYear; use App\Tests\_mock\Helpers\core\legacy\Data\DBQueryResultsMocking; /** diff --git a/tests/_mock/Mock/core/legacy/ViewDefinitionsHandlerMock.php b/tests/_mock/Mock/core/legacy/ViewDefinitionsHandlerMock.php index 311b29d74..27d4772ca 100644 --- a/tests/_mock/Mock/core/legacy/ViewDefinitionsHandlerMock.php +++ b/tests/_mock/Mock/core/legacy/ViewDefinitionsHandlerMock.php @@ -4,7 +4,7 @@ namespace App\Tests\_mock\Mock\core\legacy; -use App\Legacy\ViewDefinitionsHandler; +use App\ViewDefinitions\LegacyHandler\ViewDefinitionsHandler; class ViewDefinitionsHandlerMock extends ViewDefinitionsHandler { diff --git a/tests/_support/Helper/Unit.php b/tests/_support/Helper/Unit.php index afea0f1d8..60d6dde2b 100644 --- a/tests/_support/Helper/Unit.php +++ b/tests/_support/Helper/Unit.php @@ -4,7 +4,7 @@ namespace App\Tests\Helper; use Codeception\Module; use Codeception\TestInterface; -use App\Legacy\LegacyScopeState; +use App\Engine\LegacyHandler\LegacyScopeState; class Unit extends Module { diff --git a/tests/_support/UnitTester.php b/tests/_support/UnitTester.php index 054eb3c94..c9c464fa9 100644 --- a/tests/_support/UnitTester.php +++ b/tests/_support/UnitTester.php @@ -5,7 +5,7 @@ namespace App\Tests; use App\Tests\Helper\Unit as Tester; use Codeception\Actor; use Codeception\Lib\Friend; -use App\Legacy\LegacyScopeState; +use App\Engine\LegacyHandler\LegacyScopeState; /** * Inherited Methods diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 757100ae0..556c27b03 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -21,7 +21,7 @@ $kernel->init([ $kernel->loadFile(__DIR__ . '/../core/backend/Engine/LegacyHandler/AclHandler.php'); $kernel->loadFile(__DIR__ . '/../core/backend/Authentication/LegacyHandler/Authentication.php'); -$kernel->loadFile(__DIR__ . '/../vendor/api-platform/core/backend/Metadata/Resource/ResourceMetadata.php'); -$kernel->loadFile(__DIR__ . '/../vendor/api-platform/core/backend/Util/RequestAttributesExtractor.php'); -$kernel->loadFile(__DIR__ . '/../vendor/api-platform/core/backend/Metadata/Resource/Factory/AnnotationResourceFilterMetadataFactory.php'); -$kernel->loadFile(__DIR__ . '/../vendor/api-platform/core/backend/Security/EventListener/DenyAccessListener.php'); +$kernel->loadFile(__DIR__ . '/../vendor/api-platform/core/src/Metadata/Resource/ResourceMetadata.php'); +$kernel->loadFile(__DIR__ . '/../vendor/api-platform/core/src/Util/RequestAttributesExtractor.php'); +$kernel->loadFile(__DIR__ . '/../vendor/api-platform/core/src/Metadata/Resource/Factory/AnnotationResourceFilterMetadataFactory.php'); +$kernel->loadFile(__DIR__ . '/../vendor/api-platform/core/src/Security/EventListener/DenyAccessListener.php'); diff --git a/tests/unit/core/legacy/AclHandlerTest.php b/tests/unit/core/legacy/AclHandlerTest.php index 4f38a6601..555a68532 100644 --- a/tests/unit/core/legacy/AclHandlerTest.php +++ b/tests/unit/core/legacy/AclHandlerTest.php @@ -7,8 +7,8 @@ use App\Tests\UnitTester; use AspectMock\Test; use Codeception\Test\Unit; use Exception; -use App\Legacy\AclHandler; -use App\Legacy\ModuleNameMapperHandler; +use App\Engine\LegacyHandler\AclHandler; +use App\Module\LegacyHandler\ModuleNameMapperHandler; use Symfony\Component\HttpFoundation\Session\Session; use Symfony\Component\HttpFoundation\Session\Storage\MockArraySessionStorage; diff --git a/tests/unit/core/legacy/AppListStringsHandlerTest.php b/tests/unit/core/legacy/AppListStringsHandlerTest.php index 8bc1571ed..28675248a 100644 --- a/tests/unit/core/legacy/AppListStringsHandlerTest.php +++ b/tests/unit/core/legacy/AppListStringsHandlerTest.php @@ -3,10 +3,10 @@ namespace App\Tests\unit\core\legacy; use ApiPlatform\Core\Exception\ItemNotFoundException; -use App\Entity\AppListStrings; +use App\Languages\Entity\AppListStrings; +use App\Languages\LegacyHandler\AppListStringsHandler; use App\Tests\UnitTester; use Codeception\Test\Unit; -use App\Legacy\AppListStringsHandler; use Symfony\Component\HttpFoundation\Session\Session; use Symfony\Component\HttpFoundation\Session\Storage\MockArraySessionStorage; diff --git a/tests/unit/core/legacy/AppStringsHandlerTest.php b/tests/unit/core/legacy/AppStringsHandlerTest.php index 294b0c678..1f79b5ced 100644 --- a/tests/unit/core/legacy/AppStringsHandlerTest.php +++ b/tests/unit/core/legacy/AppStringsHandlerTest.php @@ -3,10 +3,10 @@ namespace App\Tests\unit\core\legacy; use ApiPlatform\Core\Exception\ItemNotFoundException; -use App\Entity\AppStrings; +use App\Languages\Entity\AppStrings; use App\Tests\UnitTester; use Codeception\Test\Unit; -use App\Legacy\AppStringsHandler; +use App\Languages\LegacyHandler\AppStringsHandler; use Symfony\Component\HttpFoundation\Session\Session; use Symfony\Component\HttpFoundation\Session\Storage\MockArraySessionStorage; diff --git a/tests/unit/core/legacy/ClassicViewRoutingExclusionsHandlerTest.php b/tests/unit/core/legacy/ClassicViewRoutingExclusionsHandlerTest.php index 0443a9d4c..350045502 100644 --- a/tests/unit/core/legacy/ClassicViewRoutingExclusionsHandlerTest.php +++ b/tests/unit/core/legacy/ClassicViewRoutingExclusionsHandlerTest.php @@ -2,9 +2,9 @@ namespace App\Tests\unit\core\legacy; +use App\Routes\LegacyHandler\ClassicViewRoutingExclusionsHandler; use App\Tests\UnitTester; use Codeception\Test\Unit; -use App\Legacy\ClassicViewRoutingExclusionsHandler; use Symfony\Component\HttpFoundation\Session\Session; use Symfony\Component\HttpFoundation\Session\Storage\MockArraySessionStorage; diff --git a/tests/unit/core/legacy/CurrencyHandlerTest.php b/tests/unit/core/legacy/CurrencyHandlerTest.php index 234eeb94d..f8f504166 100644 --- a/tests/unit/core/legacy/CurrencyHandlerTest.php +++ b/tests/unit/core/legacy/CurrencyHandlerTest.php @@ -5,7 +5,7 @@ namespace App\Tests\unit\core\legacy; use App\Tests\UnitTester; use Codeception\Test\Unit; use Exception; -use App\Legacy\CurrencyHandler; +use App\Currency\LegacyHandler\CurrencyHandler; use Symfony\Component\HttpFoundation\Session\Session; use Symfony\Component\HttpFoundation\Session\Storage\MockArraySessionStorage; diff --git a/tests/unit/core/legacy/FieldDefinitionHandlerTest.php b/tests/unit/core/legacy/FieldDefinitionHandlerTest.php index 1daca0e70..9ea3f1c4f 100644 --- a/tests/unit/core/legacy/FieldDefinitionHandlerTest.php +++ b/tests/unit/core/legacy/FieldDefinitionHandlerTest.php @@ -3,11 +3,11 @@ namespace App\Tests\unit\core\legacy; use App\FieldDefinitions\Entity\FieldDefinition; -use App\Legacy\FieldDefinitions\FieldDefinitionMappers; -use App\Legacy\FieldDefinitions\GroupedFieldDefinitionMapper; -use App\Legacy\FieldDefinitions\LegacyGroupedFieldDefinitionMapper; -use App\Legacy\FieldDefinitionsHandler; -use App\Legacy\ModuleNameMapperHandler; +use App\FieldDefinitions\LegacyHandler\FieldDefinitionMappers; +use App\FieldDefinitions\LegacyHandler\GroupedFieldDefinitionMapper; +use App\FieldDefinitions\LegacyHandler\LegacyGroupedFieldDefinitionMapper; +use App\FieldDefinitions\LegacyHandler\FieldDefinitionsHandler; +use App\Module\LegacyHandler\ModuleNameMapperHandler; use App\Tests\UnitTester; use ArrayObject; use Codeception\Test\Unit; diff --git a/tests/unit/core/legacy/FieldDefinitions/FieldDefinitionMappersTest.php b/tests/unit/core/legacy/FieldDefinitions/FieldDefinitionMappersTest.php index 8d381eafa..cf354d958 100644 --- a/tests/unit/core/legacy/FieldDefinitions/FieldDefinitionMappersTest.php +++ b/tests/unit/core/legacy/FieldDefinitions/FieldDefinitionMappersTest.php @@ -2,10 +2,10 @@ namespace App\Tests\unit\core\legacy\FieldDefinitions; -use App\Legacy\FieldDefinitions\FieldDefinitionMapperInterface; -use App\Legacy\FieldDefinitions\FieldDefinitionMappers; -use App\Legacy\FieldDefinitions\GroupedFieldDefinitionMapper; -use App\Legacy\FieldDefinitions\LegacyGroupedFieldDefinitionMapper; +use App\FieldDefinitions\LegacyHandler\FieldDefinitionMapperInterface; +use App\FieldDefinitions\LegacyHandler\FieldDefinitionMappers; +use App\FieldDefinitions\LegacyHandler\GroupedFieldDefinitionMapper; +use App\FieldDefinitions\LegacyHandler\LegacyGroupedFieldDefinitionMapper; use App\Tests\UnitTester; use ArrayObject; use Codeception\Test\Unit; diff --git a/tests/unit/core/legacy/FieldDefinitions/GroupedFieldDefinitionMapperTest.php b/tests/unit/core/legacy/FieldDefinitions/GroupedFieldDefinitionMapperTest.php index ad8f9a3bc..c5d052605 100644 --- a/tests/unit/core/legacy/FieldDefinitions/GroupedFieldDefinitionMapperTest.php +++ b/tests/unit/core/legacy/FieldDefinitions/GroupedFieldDefinitionMapperTest.php @@ -3,7 +3,7 @@ namespace App\Tests\unit\core\legacy\FieldDefinitions; use App\FieldDefinitions\Entity\FieldDefinition; -use App\Legacy\FieldDefinitions\GroupedFieldDefinitionMapper; +use App\FieldDefinitions\LegacyHandler\GroupedFieldDefinitionMapper; use App\Tests\UnitTester; use Codeception\Test\Unit; use Exception; @@ -20,7 +20,7 @@ class GroupedFieldDefinitionMapperTest extends Unit protected $tester; /** - * @var GroupedFieldDefinitionMapper + * @var GroupedFieldDefinitionMapper */ protected $handler; diff --git a/tests/unit/core/legacy/FieldDefinitions/LegacyGroupedFieldDefinitionMapperTest.php b/tests/unit/core/legacy/FieldDefinitions/LegacyGroupedFieldDefinitionMapperTest.php index 1faa02ff6..14870f366 100644 --- a/tests/unit/core/legacy/FieldDefinitions/LegacyGroupedFieldDefinitionMapperTest.php +++ b/tests/unit/core/legacy/FieldDefinitions/LegacyGroupedFieldDefinitionMapperTest.php @@ -3,7 +3,7 @@ namespace App\Tests\unit\core\legacy\FieldDefinitions; use App\FieldDefinitions\Entity\FieldDefinition; -use App\Legacy\FieldDefinitions\LegacyGroupedFieldDefinitionMapper; +use App\FieldDefinitions\LegacyHandler\LegacyGroupedFieldDefinitionMapper; use App\Tests\UnitTester; use Codeception\Test\Unit; use Exception; diff --git a/tests/unit/core/legacy/ModStringsHandlerTest.php b/tests/unit/core/legacy/ModStringsHandlerTest.php index ab766c811..29a8bb0a5 100644 --- a/tests/unit/core/legacy/ModStringsHandlerTest.php +++ b/tests/unit/core/legacy/ModStringsHandlerTest.php @@ -3,12 +3,12 @@ namespace App\Tests\unit\core\legacy; use ApiPlatform\Core\Exception\ItemNotFoundException; -use App\Entity\ModStrings; +use App\Languages\Entity\ModStrings; use App\Tests\UnitTester; use Codeception\Test\Unit; -use App\Legacy\ModStringsHandler; -use App\Legacy\ModuleNameMapperHandler; -use App\Legacy\ModuleRegistryHandler; +use App\Languages\LegacyHandler\ModStringsHandler; +use App\Module\LegacyHandler\ModuleNameMapperHandler; +use App\Module\LegacyHandler\ModuleRegistryHandler; use Symfony\Component\HttpFoundation\Session\Session; use Symfony\Component\HttpFoundation\Session\Storage\MockArraySessionStorage; diff --git a/tests/unit/core/legacy/ModuleRegistryHandlerTest.php b/tests/unit/core/legacy/ModuleRegistryHandlerTest.php index da0a34f08..f07db07c2 100644 --- a/tests/unit/core/legacy/ModuleRegistryHandlerTest.php +++ b/tests/unit/core/legacy/ModuleRegistryHandlerTest.php @@ -4,7 +4,7 @@ namespace App\Tests\unit\core\legacy; use App\Tests\UnitTester; use Codeception\Test\Unit; -use App\Legacy\ModuleRegistryHandler; +use App\Module\LegacyHandler\ModuleRegistryHandler; use Symfony\Component\HttpFoundation\Session\Session; use Symfony\Component\HttpFoundation\Session\Storage\MockArraySessionStorage; diff --git a/tests/unit/core/legacy/NavbarTest.php b/tests/unit/core/legacy/NavbarTest.php index 63f7a0837..03beb431c 100644 --- a/tests/unit/core/legacy/NavbarTest.php +++ b/tests/unit/core/legacy/NavbarTest.php @@ -2,16 +2,16 @@ namespace App\Tests\unit\core\legacy; -use App\Entity\Navbar; -use App\Legacy\ActionNameMapperHandler; -use App\Legacy\ModuleNameMapperHandler; -use App\Legacy\ModuleRegistryHandler; -use App\Legacy\NavbarHandler; -use App\Legacy\RouteConverterHandler; +use App\Navbar\Entity\Navbar; use App\Tests\UnitTester; use AspectMock\Test; use Codeception\Test\Unit; use Exception; +use App\Engine\LegacyHandler\ActionNameMapperHandler; +use App\Module\LegacyHandler\ModuleNameMapperHandler; +use App\Module\LegacyHandler\ModuleRegistryHandler; +use App\Navbar\LegacyHandler\NavbarHandler; +use App\Routes\LegacyHandler\RouteConverterHandler; use Symfony\Component\HttpFoundation\Session\Session; use Symfony\Component\HttpFoundation\Session\Storage\MockArraySessionStorage; diff --git a/tests/unit/core/legacy/Statistics/AssignedUserOpportunitiesCountTest.php b/tests/unit/core/legacy/Statistics/AssignedUserOpportunitiesCountTest.php index b5741e2c5..2bf6882d4 100644 --- a/tests/unit/core/legacy/Statistics/AssignedUserOpportunitiesCountTest.php +++ b/tests/unit/core/legacy/Statistics/AssignedUserOpportunitiesCountTest.php @@ -2,8 +2,8 @@ namespace App\Tests\unit\core\legacy\Statistics; -use App\Legacy\Data\PreparedStatementHandler; -use App\Legacy\ModuleNameMapperHandler; +use App\Data\LegacyHandler\PreparedStatementHandler; +use App\Module\LegacyHandler\ModuleNameMapperHandler; use App\Tests\UnitTester; use Codeception\Test\Unit; use Exception; diff --git a/tests/unit/core/legacy/Statistics/CaseDaysOpenTest.php b/tests/unit/core/legacy/Statistics/CaseDaysOpenTest.php index e53752b78..a9ead4d90 100644 --- a/tests/unit/core/legacy/Statistics/CaseDaysOpenTest.php +++ b/tests/unit/core/legacy/Statistics/CaseDaysOpenTest.php @@ -2,7 +2,7 @@ namespace App\Tests\unit\core\legacy\Statistics; -use App\Legacy\ModuleNameMapperHandler; +use App\Module\LegacyHandler\ModuleNameMapperHandler; use App\Tests\UnitTester; use BeanFactory; use Codeception\Test\Unit; diff --git a/tests/unit/core/legacy/Statistics/CasesPerAccountTest.php b/tests/unit/core/legacy/Statistics/CasesPerAccountTest.php index d1de3fdc7..97e051c62 100644 --- a/tests/unit/core/legacy/Statistics/CasesPerAccountTest.php +++ b/tests/unit/core/legacy/Statistics/CasesPerAccountTest.php @@ -3,7 +3,7 @@ namespace App\Tests\unit\core\legacy\Statistics; use AcceptanceTester; -use App\Legacy\ModuleNameMapperHandler; +use App\Module\LegacyHandler\ModuleNameMapperHandler; use App\Tests\UnitTester; use Codeception\Test\Unit; use Exception; diff --git a/tests/unit/core/legacy/Statistics/DaysUntilDueTaskTest.php b/tests/unit/core/legacy/Statistics/DaysUntilDueTaskTest.php index 524f6b9fe..3f7967dd7 100644 --- a/tests/unit/core/legacy/Statistics/DaysUntilDueTaskTest.php +++ b/tests/unit/core/legacy/Statistics/DaysUntilDueTaskTest.php @@ -2,7 +2,7 @@ namespace App\Tests\unit\core\legacy\Statistics; -use App\Legacy\ModuleNameMapperHandler; +use App\Module\LegacyHandler\ModuleNameMapperHandler; use App\Tests\_mock\Mock\core\legacy\Statistics\DaysUntilDueTaskMock; use App\Tests\UnitTester; use BeanFactory; diff --git a/tests/unit/core/legacy/Statistics/LeadDaysOpenTest.php b/tests/unit/core/legacy/Statistics/LeadDaysOpenTest.php index 8d9295e0b..e6e540085 100644 --- a/tests/unit/core/legacy/Statistics/LeadDaysOpenTest.php +++ b/tests/unit/core/legacy/Statistics/LeadDaysOpenTest.php @@ -2,7 +2,7 @@ namespace App\Tests\unit\core\legacy\Statistics; -use App\Legacy\ModuleNameMapperHandler; +use App\Module\LegacyHandler\ModuleNameMapperHandler; use App\Tests\UnitTester; use BeanFactory; use Codeception\Test\Unit; diff --git a/tests/unit/core/legacy/Statistics/OpportunitySalesStageTimeSpanTest.php b/tests/unit/core/legacy/Statistics/OpportunitySalesStageTimeSpanTest.php index 1f1a5df88..12736cb62 100644 --- a/tests/unit/core/legacy/Statistics/OpportunitySalesStageTimeSpanTest.php +++ b/tests/unit/core/legacy/Statistics/OpportunitySalesStageTimeSpanTest.php @@ -2,7 +2,7 @@ namespace App\Tests\unit\core\legacy\Statistics; -use App\Legacy\ModuleNameMapperHandler; +use App\Module\LegacyHandler\ModuleNameMapperHandler; use App\Tests\UnitTester; use BeanFactory; use Codeception\Test\Unit; diff --git a/tests/unit/core/legacy/Statistics/OpportunitySizeAnalysisTest.php b/tests/unit/core/legacy/Statistics/OpportunitySizeAnalysisTest.php index 932a98aba..1d4b9eacb 100644 --- a/tests/unit/core/legacy/Statistics/OpportunitySizeAnalysisTest.php +++ b/tests/unit/core/legacy/Statistics/OpportunitySizeAnalysisTest.php @@ -2,8 +2,8 @@ namespace App\Tests\unit\core\legacy\Statistics; -use App\Legacy\Data\PreparedStatementHandler; -use App\Legacy\ModuleNameMapperHandler; +use App\Data\LegacyHandler\PreparedStatementHandler; +use App\Module\LegacyHandler\ModuleNameMapperHandler; use App\Tests\UnitTester; use Codeception\Test\Unit; use Exception; diff --git a/tests/unit/core/legacy/Statistics/Series/AccountsNewByMonthTest.php b/tests/unit/core/legacy/Statistics/Series/AccountsNewByMonthTest.php index bd2ab4009..15134f965 100644 --- a/tests/unit/core/legacy/Statistics/Series/AccountsNewByMonthTest.php +++ b/tests/unit/core/legacy/Statistics/Series/AccountsNewByMonthTest.php @@ -2,10 +2,10 @@ namespace App\Tests\unit\core\legacy\Statistics\Series; -use App\Legacy\Data\FilterMapper\FilterMappers; -use App\Legacy\Data\RecordMapper; -use App\Legacy\ModuleNameMapperHandler; -use App\Legacy\Data\FilterMapper\LegacyFilterMapper; +use App\Data\LegacyHandler\FilterMapper\FilterMappers; +use App\Data\LegacyHandler\RecordMapper; +use App\Module\LegacyHandler\ModuleNameMapperHandler; +use App\Data\LegacyHandler\FilterMapper\LegacyFilterMapper; use App\Tests\_mock\Mock\core\legacy\Data\ListDataQueryHandlerMock; use App\Tests\_mock\Mock\core\legacy\Statistics\Series\AccountsNewByMonthMock; use App\Tests\UnitTester; diff --git a/tests/unit/core/legacy/Statistics/Series/LeadByStatusCountTest.php b/tests/unit/core/legacy/Statistics/Series/LeadByStatusCountTest.php index eb5e6c8ad..edfa24b1b 100644 --- a/tests/unit/core/legacy/Statistics/Series/LeadByStatusCountTest.php +++ b/tests/unit/core/legacy/Statistics/Series/LeadByStatusCountTest.php @@ -2,10 +2,10 @@ namespace App\Tests\unit\core\legacy\Statistics; -use App\Legacy\Data\FilterMapper\FilterMappers; -use App\Legacy\Data\FilterMapper\LegacyFilterMapper; -use App\Legacy\Data\RecordMapper; -use App\Legacy\ModuleNameMapperHandler; +use App\Data\LegacyHandler\FilterMapper\FilterMappers; +use App\Data\LegacyHandler\FilterMapper\LegacyFilterMapper; +use App\Data\LegacyHandler\RecordMapper; +use App\Module\LegacyHandler\ModuleNameMapperHandler; use App\Tests\_mock\Mock\core\legacy\Data\ListDataQueryHandlerMock; use App\Tests\_mock\Mock\core\legacy\Statistics\Series\LeadsByStatusCountMock; use App\Tests\UnitTester; diff --git a/tests/unit/core/legacy/Statistics/Series/OpportunitiesBySalesStagePipelineTest.php b/tests/unit/core/legacy/Statistics/Series/OpportunitiesBySalesStagePipelineTest.php index e0ee46b24..8462c2f5a 100644 --- a/tests/unit/core/legacy/Statistics/Series/OpportunitiesBySalesStagePipelineTest.php +++ b/tests/unit/core/legacy/Statistics/Series/OpportunitiesBySalesStagePipelineTest.php @@ -2,10 +2,10 @@ namespace App\Tests\unit\core\legacy\Statistics; -use App\Legacy\Data\FilterMapper\FilterMappers; -use App\Legacy\Data\FilterMapper\LegacyFilterMapper; -use App\Legacy\Data\RecordMapper; -use App\Legacy\ModuleNameMapperHandler; +use App\Data\LegacyHandler\FilterMapper\FilterMappers; +use App\Data\LegacyHandler\FilterMapper\LegacyFilterMapper; +use App\Data\LegacyHandler\RecordMapper; +use App\Module\LegacyHandler\ModuleNameMapperHandler; use App\Tests\_mock\Mock\core\legacy\Data\ListDataQueryHandlerMock; use App\Tests\_mock\Mock\core\legacy\Statistics\Series\OpportunitiesBySalesStagePipelineMock; use App\Tests\UnitTester; diff --git a/tests/unit/core/legacy/Statistics/SubPanelActivitiesNextDateTest.php b/tests/unit/core/legacy/Statistics/SubPanelActivitiesNextDateTest.php index cbebc82ef..984cfdbac 100644 --- a/tests/unit/core/legacy/Statistics/SubPanelActivitiesNextDateTest.php +++ b/tests/unit/core/legacy/Statistics/SubPanelActivitiesNextDateTest.php @@ -2,7 +2,7 @@ namespace App\Tests\unit\core\legacy\Statistics; -use App\Legacy\ModuleNameMapperHandler; +use App\Module\LegacyHandler\ModuleNameMapperHandler; use App\Tests\_mock\Mock\core\legacy\Statistics\SubPanelActivitiesNextDateMock; use App\Tests\UnitTester; use Codeception\Test\Unit; diff --git a/tests/unit/core/legacy/Statistics/SubPanelCampaignLastReceivedTest.php b/tests/unit/core/legacy/Statistics/SubPanelCampaignLastReceivedTest.php index 027406428..74f56af18 100644 --- a/tests/unit/core/legacy/Statistics/SubPanelCampaignLastReceivedTest.php +++ b/tests/unit/core/legacy/Statistics/SubPanelCampaignLastReceivedTest.php @@ -2,7 +2,7 @@ namespace App\Tests\unit\core\legacy\Statistics; -use App\Legacy\ModuleNameMapperHandler; +use App\Module\LegacyHandler\ModuleNameMapperHandler; use App\Tests\_mock\Mock\core\legacy\Statistics\SubPanelCampaignLastReceivedMock; use App\Tests\_mock\Mock\core\legacy\Statistics\SubPanelEventsLastDateMock; use App\Tests\UnitTester; diff --git a/tests/unit/core/legacy/Statistics/SubPanelCasesCountTest.php b/tests/unit/core/legacy/Statistics/SubPanelCasesCountTest.php index 6b120f07a..dbc69ceab 100644 --- a/tests/unit/core/legacy/Statistics/SubPanelCasesCountTest.php +++ b/tests/unit/core/legacy/Statistics/SubPanelCasesCountTest.php @@ -2,7 +2,7 @@ namespace App\Tests\unit\core\legacy\Statistics; -use App\Legacy\ModuleNameMapperHandler; +use App\Module\LegacyHandler\ModuleNameMapperHandler; use App\Tests\_mock\Mock\core\legacy\Statistics\SubPanelCasesCountMock; use App\Tests\UnitTester; use Codeception\Test\Unit; diff --git a/tests/unit/core/legacy/Statistics/SubPanelContractsRenewalDateTest.php b/tests/unit/core/legacy/Statistics/SubPanelContractsRenewalDateTest.php index 1656cde5a..a3192d6e9 100644 --- a/tests/unit/core/legacy/Statistics/SubPanelContractsRenewalDateTest.php +++ b/tests/unit/core/legacy/Statistics/SubPanelContractsRenewalDateTest.php @@ -2,7 +2,7 @@ namespace App\Tests\unit\core\legacy\Statistics; -use App\Legacy\ModuleNameMapperHandler; +use App\Module\LegacyHandler\ModuleNameMapperHandler; use App\Tests\_mock\Mock\core\legacy\Statistics\SubPanelContractsRenewalDateMock; use App\Tests\UnitTester; use Codeception\Test\Unit; diff --git a/tests/unit/core/legacy/Statistics/SubPanelEventsLastDateTest.php b/tests/unit/core/legacy/Statistics/SubPanelEventsLastDateTest.php index 93d66ff5d..07433eb89 100644 --- a/tests/unit/core/legacy/Statistics/SubPanelEventsLastDateTest.php +++ b/tests/unit/core/legacy/Statistics/SubPanelEventsLastDateTest.php @@ -2,7 +2,7 @@ namespace App\Tests\unit\core\legacy\Statistics; -use App\Legacy\ModuleNameMapperHandler; +use App\Module\LegacyHandler\ModuleNameMapperHandler; use App\Tests\_mock\Mock\core\legacy\Statistics\SubPanelEventsLastDateMock; use App\Tests\UnitTester; use Codeception\Test\Unit; diff --git a/tests/unit/core/legacy/Statistics/SubPanelHistoryLastDateTest.php b/tests/unit/core/legacy/Statistics/SubPanelHistoryLastDateTest.php index c0b2e214a..eae5ff176 100644 --- a/tests/unit/core/legacy/Statistics/SubPanelHistoryLastDateTest.php +++ b/tests/unit/core/legacy/Statistics/SubPanelHistoryLastDateTest.php @@ -2,7 +2,7 @@ namespace App\Tests\unit\core\legacy\Statistics; -use App\Legacy\ModuleNameMapperHandler; +use App\Module\LegacyHandler\ModuleNameMapperHandler; use App\Tests\_mock\Mock\core\legacy\Statistics\SubPanelHistoryLastDateMock; use App\Tests\UnitTester; use Codeception\Test\Unit; diff --git a/tests/unit/core/legacy/Statistics/SubPanelInvoicesTotalTest.php b/tests/unit/core/legacy/Statistics/SubPanelInvoicesTotalTest.php index 17f37faea..093ee1a96 100644 --- a/tests/unit/core/legacy/Statistics/SubPanelInvoicesTotalTest.php +++ b/tests/unit/core/legacy/Statistics/SubPanelInvoicesTotalTest.php @@ -2,7 +2,7 @@ namespace App\Tests\unit\core\legacy\Statistics; -use App\Legacy\ModuleNameMapperHandler; +use App\Module\LegacyHandler\ModuleNameMapperHandler; use App\Tests\_mock\Mock\core\legacy\Statistics\SubPanelInvoicesTotalMock; use App\Tests\UnitTester; use Codeception\Test\Unit; diff --git a/tests/unit/core/legacy/Statistics/SubPanelQuotesTotalTest.php b/tests/unit/core/legacy/Statistics/SubPanelQuotesTotalTest.php index b6f08be69..e5fadeef7 100644 --- a/tests/unit/core/legacy/Statistics/SubPanelQuotesTotalTest.php +++ b/tests/unit/core/legacy/Statistics/SubPanelQuotesTotalTest.php @@ -2,7 +2,7 @@ namespace App\Tests\unit\core\legacy\Statistics; -use App\Legacy\ModuleNameMapperHandler; +use App\Module\LegacyHandler\ModuleNameMapperHandler; use App\Tests\_mock\Mock\core\legacy\Statistics\SubPanelQuotesTotalMock; use App\Tests\UnitTester; use Codeception\Test\Unit; diff --git a/tests/unit/core/legacy/Statistics/SubpanelOpportunitiesTotalTest.php b/tests/unit/core/legacy/Statistics/SubpanelOpportunitiesTotalTest.php index 6ff34c0bb..c9de231d7 100644 --- a/tests/unit/core/legacy/Statistics/SubpanelOpportunitiesTotalTest.php +++ b/tests/unit/core/legacy/Statistics/SubpanelOpportunitiesTotalTest.php @@ -2,7 +2,7 @@ namespace App\Tests\unit\core\legacy\Statistics; -use App\Legacy\ModuleNameMapperHandler; +use App\Module\LegacyHandler\ModuleNameMapperHandler; use App\Tests\UnitTester; use Codeception\Test\Unit; use Exception; diff --git a/tests/unit/core/legacy/Statistics/WonOpportunityAmountByYearTest.php b/tests/unit/core/legacy/Statistics/WonOpportunityAmountByYearTest.php index 42303c8f5..27592d73f 100644 --- a/tests/unit/core/legacy/Statistics/WonOpportunityAmountByYearTest.php +++ b/tests/unit/core/legacy/Statistics/WonOpportunityAmountByYearTest.php @@ -2,7 +2,7 @@ namespace App\Tests\unit\core\legacy\Statistics; -use App\Legacy\ModuleNameMapperHandler; +use App\Module\LegacyHandler\ModuleNameMapperHandler; use App\Tests\UnitTester; use Codeception\Test\Unit; use Exception; diff --git a/tests/unit/core/legacy/SystemConfig/DateFormatConfigMapperTest.php b/tests/unit/core/legacy/SystemConfig/DateFormatConfigMapperTest.php index 4b7d13fb2..03a9f472f 100644 --- a/tests/unit/core/legacy/SystemConfig/DateFormatConfigMapperTest.php +++ b/tests/unit/core/legacy/SystemConfig/DateFormatConfigMapperTest.php @@ -2,9 +2,9 @@ namespace App\Tests\unit\core\legacy\SystemConfig; -use App\Entity\SystemConfig; +use App\SystemConfig\Entity\SystemConfig; use App\DateTime\LegacyHandler\DateTimeHandler; -use App\Legacy\SystemConfig\DateFormatConfigMapper; +use App\SystemConfig\LegacyHandler\DateFormatConfigMapper; use App\Tests\UnitTester; use Codeception\Test\Unit; use Exception; diff --git a/tests/unit/core/legacy/SystemConfig/DefaultCurrencyConfigMapperTest.php b/tests/unit/core/legacy/SystemConfig/DefaultCurrencyConfigMapperTest.php index 221c895f6..6221e97c0 100644 --- a/tests/unit/core/legacy/SystemConfig/DefaultCurrencyConfigMapperTest.php +++ b/tests/unit/core/legacy/SystemConfig/DefaultCurrencyConfigMapperTest.php @@ -2,9 +2,9 @@ namespace App\Tests\unit\core\legacy\SystemConfig; -use App\Entity\SystemConfig; -use App\Legacy\CurrencyHandler; -use App\Legacy\SystemConfig\DefaultCurrencyConfigMapper; +use App\SystemConfig\Entity\SystemConfig; +use App\Currency\LegacyHandler\CurrencyHandler; +use App\SystemConfig\LegacyHandler\DefaultCurrencyConfigMapper; use App\Tests\UnitTester; use Codeception\Test\Unit; use Exception; diff --git a/tests/unit/core/legacy/SystemConfig/DefaultModuleConfigMapperTest.php b/tests/unit/core/legacy/SystemConfig/DefaultModuleConfigMapperTest.php index 28f8eec8c..42f4fa18d 100644 --- a/tests/unit/core/legacy/SystemConfig/DefaultModuleConfigMapperTest.php +++ b/tests/unit/core/legacy/SystemConfig/DefaultModuleConfigMapperTest.php @@ -2,9 +2,9 @@ namespace App\Tests\unit\core\legacy\SystemConfig; -use App\Entity\SystemConfig; -use App\Legacy\ModuleNameMapperHandler; -use App\Legacy\SystemConfig\DefaultModuleConfigMapper; +use App\SystemConfig\Entity\SystemConfig; +use App\Module\LegacyHandler\ModuleNameMapperHandler; +use App\SystemConfig\LegacyHandler\DefaultModuleConfigMapper; use App\Tests\UnitTester; use Codeception\Test\Unit; use Exception; diff --git a/tests/unit/core/legacy/SystemConfig/SystemConfigMappersTest.php b/tests/unit/core/legacy/SystemConfig/SystemConfigMappersTest.php index 4f84fe481..ee90737f1 100644 --- a/tests/unit/core/legacy/SystemConfig/SystemConfigMappersTest.php +++ b/tests/unit/core/legacy/SystemConfig/SystemConfigMappersTest.php @@ -3,9 +3,9 @@ namespace App\Tests\unit\core\legacy\SystemConfig; use ApiPlatform\Core\Exception\ItemNotFoundException; -use App\Legacy\ModuleNameMapperHandler; -use App\Legacy\SystemConfig\DefaultModuleConfigMapper; -use App\Legacy\SystemConfig\SystemConfigMappers; +use App\Module\LegacyHandler\ModuleNameMapperHandler; +use App\SystemConfig\LegacyHandler\DefaultModuleConfigMapper; +use App\SystemConfig\LegacyHandler\SystemConfigMappers; use App\Tests\UnitTester; use ArrayObject; use Codeception\Test\Unit; diff --git a/tests/unit/core/legacy/SystemConfig/TimeFormatConfigMapperTest.php b/tests/unit/core/legacy/SystemConfig/TimeFormatConfigMapperTest.php index 905bf1660..0a2f69f42 100644 --- a/tests/unit/core/legacy/SystemConfig/TimeFormatConfigMapperTest.php +++ b/tests/unit/core/legacy/SystemConfig/TimeFormatConfigMapperTest.php @@ -2,9 +2,9 @@ namespace App\Tests\unit\core\legacy\SystemConfig; -use App\Entity\SystemConfig; +use App\SystemConfig\Entity\SystemConfig; use App\DateTime\LegacyHandler\DateTimeHandler; -use App\Legacy\SystemConfig\TimeFormatConfigMapper; +use App\SystemConfig\LegacyHandler\TimeFormatConfigMapper; use App\Tests\UnitTester; use Codeception\Test\Unit; use Exception; diff --git a/tests/unit/core/legacy/SystemConfigHandlerTest.php b/tests/unit/core/legacy/SystemConfigHandlerTest.php index 21a1bec53..31da9e2f0 100644 --- a/tests/unit/core/legacy/SystemConfigHandlerTest.php +++ b/tests/unit/core/legacy/SystemConfigHandlerTest.php @@ -3,16 +3,16 @@ namespace App\Tests\unit\core\legacy; use ApiPlatform\Core\Exception\ItemNotFoundException; -use App\Legacy\ActionNameMapperHandler; -use App\Legacy\ClassicViewRoutingExclusionsHandler; -use App\Legacy\CurrencyHandler; +use App\Engine\LegacyHandler\ActionNameMapperHandler; +use App\Routes\LegacyHandler\ClassicViewRoutingExclusionsHandler; +use App\Currency\LegacyHandler\CurrencyHandler; use App\DateTime\LegacyHandler\DateTimeHandler; -use App\Legacy\ModuleNameMapperHandler; -use App\Legacy\SystemConfig\DateFormatConfigMapper; -use App\Legacy\SystemConfig\DefaultCurrencyConfigMapper; -use App\Legacy\SystemConfig\SystemConfigMappers; -use App\Legacy\SystemConfig\TimeFormatConfigMapper; -use App\Legacy\SystemConfigHandler; +use App\Module\LegacyHandler\ModuleNameMapperHandler; +use App\SystemConfig\LegacyHandler\DateFormatConfigMapper; +use App\SystemConfig\LegacyHandler\DefaultCurrencyConfigMapper; +use App\SystemConfig\LegacyHandler\SystemConfigMappers; +use App\SystemConfig\LegacyHandler\TimeFormatConfigMapper; +use App\SystemConfig\LegacyHandler\SystemConfigHandler; use App\Tests\UnitTester; use Codeception\Test\Unit; use Exception; diff --git a/tests/unit/core/legacy/UserPreferencesHandlerTest.php b/tests/unit/core/legacy/UserPreferencesHandlerTest.php index 4b9b8f21a..08965a12f 100644 --- a/tests/unit/core/legacy/UserPreferencesHandlerTest.php +++ b/tests/unit/core/legacy/UserPreferencesHandlerTest.php @@ -7,13 +7,13 @@ use App\Tests\UnitTester; use AspectMock\Test; use Codeception\Test\Unit; use Exception; -use App\Legacy\CurrencyHandler; +use App\Currency\LegacyHandler\CurrencyHandler; use App\DateTime\LegacyHandler\DateTimeHandler; -use App\Legacy\UserPreferenceHandler; -use App\Legacy\UserPreferences\CurrencyPreferenceMapper; -use App\Legacy\UserPreferences\DateFormatPreferenceMapper; -use App\Legacy\UserPreferences\TimeFormatPreferenceMapper; -use App\Legacy\UserPreferences\UserPreferencesMappers; +use App\UserPreferences\LegacyHandler\UserPreferenceHandler; +use App\UserPreferences\LegacyHandler\CurrencyPreferenceMapper; +use App\UserPreferences\LegacyHandler\DateFormatPreferenceMapper; +use App\UserPreferences\LegacyHandler\TimeFormatPreferenceMapper; +use App\UserPreferences\LegacyHandler\UserPreferencesMappers; use Symfony\Component\HttpFoundation\Session\Session; use Symfony\Component\HttpFoundation\Session\Storage\MockArraySessionStorage; use User; diff --git a/tests/unit/core/legacy/ViewDefinitionsHandlerTest.php b/tests/unit/core/legacy/ViewDefinitionsHandlerTest.php index 28b606d3f..f61add5b2 100644 --- a/tests/unit/core/legacy/ViewDefinitionsHandlerTest.php +++ b/tests/unit/core/legacy/ViewDefinitionsHandlerTest.php @@ -2,25 +2,25 @@ namespace App\Tests\unit\core\legacy; -use App\Legacy\AclHandler; -use App\Legacy\AppListStringsHandler; -use App\Legacy\FieldDefinitions\FieldDefinitionMappers; -use App\Legacy\FieldDefinitions\GroupedFieldDefinitionMapper; -use App\Legacy\FieldDefinitions\LegacyGroupedFieldDefinitionMapper; -use App\Legacy\FieldDefinitionsHandler; -use App\Legacy\ModuleNameMapperHandler; -use App\Legacy\ViewDefinitions\ListViewDefinitionHandler; -use App\Legacy\ViewDefinitions\RecordView\RecordViewGroupTypeMapper; -use App\Legacy\ViewDefinitions\RecordViewDefinitionHandler; -use App\Legacy\ViewDefinitions\SubPanelDefinitionHandler; -use App\Legacy\ViewDefinitions\ViewDefinitionMappers; -use App\Service\AclManagerInterface; -use App\Service\BulkActionDefinitionProvider; -use App\Service\FilterDefinitionProvider; -use App\Service\FilterDefinitionProviderInterface; -use App\Service\LineActionDefinitionProvider; -use App\Service\ListViewSidebarWidgetDefinitionProvider; -use App\Service\RecordActionDefinitionProvider; +use App\Engine\LegacyHandler\AclHandler; +use App\Languages\LegacyHandler\AppListStringsHandler; +use App\FieldDefinitions\LegacyHandler\FieldDefinitionMappers; +use App\FieldDefinitions\LegacyHandler\GroupedFieldDefinitionMapper; +use App\FieldDefinitions\LegacyHandler\LegacyGroupedFieldDefinitionMapper; +use App\FieldDefinitions\LegacyHandler\FieldDefinitionsHandler; +use App\Module\LegacyHandler\ModuleNameMapperHandler; +use App\ViewDefinitions\LegacyHandler\ListViewDefinitionHandler; +use App\ViewDefinitions\LegacyHandler\RecordView\RecordViewGroupTypeMapper; +use App\ViewDefinitions\LegacyHandler\RecordViewDefinitionHandler; +use App\ViewDefinitions\LegacyHandler\SubPanelDefinitionHandler; +use App\ViewDefinitions\LegacyHandler\ViewDefinitionMappers; +use App\Engine\Service\AclManagerInterface; +use App\Process\Service\BulkActionDefinitionProvider; +use App\Filters\Service\FilterDefinitionProvider; +use App\Filters\Service\FilterDefinitionProviderInterface; +use App\Process\Service\LineActionDefinitionProvider; +use App\ViewDefinitions\Service\ListViewSidebarWidgetDefinitionProvider; +use App\Data\Service\RecordActionDefinitionProvider; use App\Tests\_mock\Mock\core\legacy\ViewDefinitionsHandlerMock; use App\Tests\UnitTester; use ArrayObject; diff --git a/tests/unit/core/src/Security/LegacySessionDenyAccessListenerTest.php b/tests/unit/core/src/Security/LegacySessionDenyAccessListenerTest.php index bb8f3c6b9..e886ec367 100644 --- a/tests/unit/core/src/Security/LegacySessionDenyAccessListenerTest.php +++ b/tests/unit/core/src/Security/LegacySessionDenyAccessListenerTest.php @@ -15,7 +15,7 @@ use AspectMock\Test; use Codeception\Test\Unit; use Doctrine\Common\Annotations\AnnotationReader; use Exception; -use App\Legacy\Authentication; +use App\Authentication\LegacyHandler\Authentication; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Session\SessionInterface; use Symfony\Component\HttpKernel\Event\RequestEvent; diff --git a/tests/unit/core/src/Security/LegacySessionLogoutHandlerTest.php b/tests/unit/core/src/Security/LegacySessionLogoutHandlerTest.php index 1e1c76764..b720f6b3c 100644 --- a/tests/unit/core/src/Security/LegacySessionLogoutHandlerTest.php +++ b/tests/unit/core/src/Security/LegacySessionLogoutHandlerTest.php @@ -8,7 +8,7 @@ use AspectMock\Test; use AuthenticationController; use Codeception\Test\Unit; use Exception; -use App\Legacy\Authentication; +use App\Authentication\LegacyHandler\Authentication; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\Session\Session; diff --git a/tests/unit/core/src/Security/LegacySessionSecurityStageTest.php b/tests/unit/core/src/Security/LegacySessionSecurityStageTest.php index 0bad808cc..0a933d6eb 100644 --- a/tests/unit/core/src/Security/LegacySessionSecurityStageTest.php +++ b/tests/unit/core/src/Security/LegacySessionSecurityStageTest.php @@ -18,7 +18,7 @@ use GraphQL\Type\Definition\ObjectType; use GraphQL\Type\Definition\ResolveInfo; use GraphQL\Type\Definition\StringType; use GraphQL\Type\Schema; -use App\Legacy\Authentication; +use App\Authentication\LegacyHandler\Authentication; use Symfony\Component\HttpFoundation\Session\SessionInterface; /** diff --git a/tests/unit/core/src/Service/ActionNameMapperTest.php b/tests/unit/core/src/Service/ActionNameMapperTest.php index e343fe019..83c0f921b 100644 --- a/tests/unit/core/src/Service/ActionNameMapperTest.php +++ b/tests/unit/core/src/Service/ActionNameMapperTest.php @@ -2,10 +2,10 @@ namespace App\Tests\unit\core\src\Service; -use App\Service\ActionNameMapperInterface; +use App\Process\Service\ActionNameMapperInterface; use App\Tests\UnitTester; use Codeception\Test\Unit; -use App\Legacy\ActionNameMapperHandler; +use App\Engine\LegacyHandler\ActionNameMapperHandler; use Symfony\Component\HttpFoundation\Session\Session; use Symfony\Component\HttpFoundation\Session\Storage\MockArraySessionStorage; diff --git a/tests/unit/core/src/Service/BulkActionDefinitionProviderTest.php b/tests/unit/core/src/Service/BulkActionDefinitionProviderTest.php index 419baefcc..7c34d0e83 100644 --- a/tests/unit/core/src/Service/BulkActionDefinitionProviderTest.php +++ b/tests/unit/core/src/Service/BulkActionDefinitionProviderTest.php @@ -2,12 +2,12 @@ namespace App\Tests\unit\core\src\Service; -use App\Service\AclManagerInterface; -use App\Service\BulkActionDefinitionProvider; +use App\Engine\Service\AclManagerInterface; +use App\Process\Service\BulkActionDefinitionProvider; use App\Tests\UnitTester; use Codeception\Test\Unit; use Exception; -use App\Legacy\AclHandler; +use App\Engine\LegacyHandler\AclHandler; /** * Class BulkActionDefinitionProviderTest diff --git a/tests/unit/core/src/Service/BulkActions/DeleteRecordsBulkActionTest.php b/tests/unit/core/src/Service/BulkActions/DeleteRecordsBulkActionTest.php index 38f8a45be..4b1fac580 100644 --- a/tests/unit/core/src/Service/BulkActions/DeleteRecordsBulkActionTest.php +++ b/tests/unit/core/src/Service/BulkActions/DeleteRecordsBulkActionTest.php @@ -2,10 +2,10 @@ namespace App\Tests\unit\core\src\Service\RecordActions; -use App\Entity\Process; -use App\Legacy\ModuleNameMapperHandler; -use App\Service\BulkActions\DeleteRecordsBulkAction; -use App\Service\RecordDeletionServiceInterface; +use App\Process\Entity\Process; +use App\Module\LegacyHandler\ModuleNameMapperHandler; +use App\Process\Service\BulkActions\DeleteRecordsBulkAction; +use App\Data\Service\RecordDeletionServiceInterface; use App\Tests\UnitTester; use Codeception\Test\Unit; use Exception; diff --git a/tests/unit/core/src/Service/BulkActions/MergeRecordsBulkActionTest.php b/tests/unit/core/src/Service/BulkActions/MergeRecordsBulkActionTest.php index f6f7e31ad..74d6e4dd6 100644 --- a/tests/unit/core/src/Service/BulkActions/MergeRecordsBulkActionTest.php +++ b/tests/unit/core/src/Service/BulkActions/MergeRecordsBulkActionTest.php @@ -2,9 +2,9 @@ namespace App\Tests\unit\core\src\Service\RecordActions; -use App\Entity\Process; -use App\Legacy\ModuleNameMapperHandler; -use App\Service\BulkActions\MergeRecordsBulkAction; +use App\Process\Entity\Process; +use App\Module\LegacyHandler\ModuleNameMapperHandler; +use App\Process\Service\BulkActions\MergeRecordsBulkAction; use App\Tests\UnitTester; use Codeception\Test\Unit; use Exception; diff --git a/tests/unit/core/src/Service/LegacyApiRedirectHandlerTest.php b/tests/unit/core/src/Service/LegacyApiRedirectHandlerTest.php index 591d8c36a..e52509cc3 100644 --- a/tests/unit/core/src/Service/LegacyApiRedirectHandlerTest.php +++ b/tests/unit/core/src/Service/LegacyApiRedirectHandlerTest.php @@ -2,7 +2,7 @@ namespace App\Tests\unit\core\src\Service; -use App\Service\LegacyApiRedirectHandler; +use App\Routes\Service\LegacyApiRedirectHandler; use App\Tests\UnitTester; use Codeception\Test\Unit; use Symfony\Component\HttpFoundation\Request; diff --git a/tests/unit/core/src/Service/LegacyAssetRedirectHandlerTest.php b/tests/unit/core/src/Service/LegacyAssetRedirectHandlerTest.php index 368fa4b7c..9c31d5486 100644 --- a/tests/unit/core/src/Service/LegacyAssetRedirectHandlerTest.php +++ b/tests/unit/core/src/Service/LegacyAssetRedirectHandlerTest.php @@ -2,7 +2,7 @@ namespace App\Tests\unit\core\src\Service; -use App\Service\LegacyAssetRedirectHandler; +use App\Routes\Service\LegacyAssetRedirectHandler; use App\Tests\UnitTester; use Codeception\Test\Unit; use Symfony\Component\HttpFoundation\Request; diff --git a/tests/unit/core/src/Service/LegacyNonViewActionRedirectHandlerTest.php b/tests/unit/core/src/Service/LegacyNonViewActionRedirectHandlerTest.php index f752305c7..6f8d7fc03 100644 --- a/tests/unit/core/src/Service/LegacyNonViewActionRedirectHandlerTest.php +++ b/tests/unit/core/src/Service/LegacyNonViewActionRedirectHandlerTest.php @@ -2,13 +2,13 @@ namespace App\Tests\unit\core\src\Service; -use App\Service\LegacyNonViewActionRedirectHandler; +use App\Routes\Service\LegacyNonViewActionRedirectHandler; use App\Tests\UnitTester; use Codeception\Test\Unit; use Exception; -use App\Legacy\ActionNameMapperHandler; -use App\Legacy\ModuleNameMapperHandler; -use App\Legacy\RouteConverterHandler; +use App\Engine\LegacyHandler\ActionNameMapperHandler; +use App\Module\LegacyHandler\ModuleNameMapperHandler; +use App\Routes\LegacyHandler\RouteConverterHandler; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Session\Session; use Symfony\Component\HttpFoundation\Session\Storage\MockArraySessionStorage; diff --git a/tests/unit/core/src/Service/ListViewSidebarWidgetDefinitionProviderTest.php b/tests/unit/core/src/Service/ListViewSidebarWidgetDefinitionProviderTest.php index 54f5bf0f0..1e5cfc61e 100644 --- a/tests/unit/core/src/Service/ListViewSidebarWidgetDefinitionProviderTest.php +++ b/tests/unit/core/src/Service/ListViewSidebarWidgetDefinitionProviderTest.php @@ -2,9 +2,9 @@ namespace App\Tests\unit\core\src\Service; -use App\Legacy\AclHandler; -use App\Service\AclManagerInterface; -use App\Service\ListViewSidebarWidgetDefinitionProvider; +use App\Engine\LegacyHandler\AclHandler; +use App\Engine\Service\AclManagerInterface; +use App\ViewDefinitions\Service\ListViewSidebarWidgetDefinitionProvider; use App\Tests\UnitTester; use Codeception\Test\Unit; use Exception; diff --git a/tests/unit/core/src/Service/ModuleNameMapperTest.php b/tests/unit/core/src/Service/ModuleNameMapperTest.php index 843adf07d..7cd7efc8c 100644 --- a/tests/unit/core/src/Service/ModuleNameMapperTest.php +++ b/tests/unit/core/src/Service/ModuleNameMapperTest.php @@ -2,11 +2,11 @@ namespace App\Tests\unit\core\src\Service; -use App\Service\ModuleNameMapperInterface; +use App\Module\Service\ModuleNameMapperInterface; use App\Tests\UnitTester; use Codeception\Test\Unit; use InvalidArgumentException; -use App\Legacy\ModuleNameMapperHandler; +use App\Module\LegacyHandler\ModuleNameMapperHandler; use Symfony\Component\HttpFoundation\Session\Session; use Symfony\Component\HttpFoundation\Session\Storage\MockArraySessionStorage; diff --git a/tests/unit/core/src/Service/RecordActionDefinitionProviderTest.php b/tests/unit/core/src/Service/RecordActionDefinitionProviderTest.php index 43e070f98..9bb2931ba 100644 --- a/tests/unit/core/src/Service/RecordActionDefinitionProviderTest.php +++ b/tests/unit/core/src/Service/RecordActionDefinitionProviderTest.php @@ -2,9 +2,9 @@ namespace App\Tests\unit\core\src\Service; -use App\Legacy\AclHandler; -use App\Service\AclManagerInterface; -use App\Service\RecordActionDefinitionProvider; +use App\Engine\LegacyHandler\AclHandler; +use App\Engine\Service\AclManagerInterface; +use App\Data\Service\RecordActionDefinitionProvider; use App\Tests\UnitTester; use Codeception\Test\Unit; use Exception; diff --git a/tests/unit/core/src/Service/RecordActions/ConvertLeadActionTest.php b/tests/unit/core/src/Service/RecordActions/ConvertLeadActionTest.php index 09027322a..01f73ef8a 100644 --- a/tests/unit/core/src/Service/RecordActions/ConvertLeadActionTest.php +++ b/tests/unit/core/src/Service/RecordActions/ConvertLeadActionTest.php @@ -2,9 +2,9 @@ namespace App\Tests\unit\core\src\Service\RecordActions; -use App\Entity\Process; -use App\Legacy\ModuleNameMapperHandler; -use App\Service\RecordActions\ConvertLeadAction; +use App\Process\Entity\Process; +use App\Module\LegacyHandler\ModuleNameMapperHandler; +use App\Process\Service\RecordActions\ConvertLeadAction; use App\Tests\UnitTester; use Codeception\Test\Unit; use Exception; diff --git a/tests/unit/core/src/Service/RecordActions/DeleteRecordActionTest.php b/tests/unit/core/src/Service/RecordActions/DeleteRecordActionTest.php index 309770cc2..64c16a33d 100644 --- a/tests/unit/core/src/Service/RecordActions/DeleteRecordActionTest.php +++ b/tests/unit/core/src/Service/RecordActions/DeleteRecordActionTest.php @@ -2,10 +2,10 @@ namespace App\Tests\unit\core\src\Service\RecordActions; -use App\Entity\Process; -use App\Legacy\ModuleNameMapperHandler; -use App\Service\RecordActions\DeleteRecordAction; -use App\Service\RecordDeletionServiceInterface; +use App\Process\Entity\Process; +use App\Module\LegacyHandler\ModuleNameMapperHandler; +use App\Process\Service\RecordActions\DeleteRecordAction; +use App\Data\Service\RecordDeletionServiceInterface; use App\Tests\UnitTester; use Codeception\Test\Unit; use Exception; diff --git a/tests/unit/core/src/Service/RecordActions/DuplicateRecordActionTest.php b/tests/unit/core/src/Service/RecordActions/DuplicateRecordActionTest.php index 486823655..483851dcc 100644 --- a/tests/unit/core/src/Service/RecordActions/DuplicateRecordActionTest.php +++ b/tests/unit/core/src/Service/RecordActions/DuplicateRecordActionTest.php @@ -2,9 +2,9 @@ namespace App\Tests\unit\core\src\Service\RecordActions; -use App\Entity\Process; -use App\Legacy\ModuleNameMapperHandler; -use App\Service\RecordActions\DuplicateRecordAction; +use App\Process\Entity\Process; +use App\Module\LegacyHandler\ModuleNameMapperHandler; +use App\Process\Service\RecordActions\DuplicateRecordAction; use App\Tests\UnitTester; use Codeception\Test\Unit; use Exception; diff --git a/tests/unit/core/src/Service/RouteConverterTest.php b/tests/unit/core/src/Service/RouteConverterTest.php index 28095d60e..6e3337174 100644 --- a/tests/unit/core/src/Service/RouteConverterTest.php +++ b/tests/unit/core/src/Service/RouteConverterTest.php @@ -2,13 +2,13 @@ namespace App\Tests\unit\core\src\Service; -use App\Service\RouteConverterInterface; +use App\Routes\Service\RouteConverterInterface; use App\Tests\UnitTester; use Codeception\Test\Unit; use InvalidArgumentException; -use App\Legacy\ActionNameMapperHandler; -use App\Legacy\ModuleNameMapperHandler; -use App\Legacy\RouteConverterHandler; +use App\Engine\LegacyHandler\ActionNameMapperHandler; +use App\Module\LegacyHandler\ModuleNameMapperHandler; +use App\Routes\LegacyHandler\RouteConverterHandler; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Session\Session; use Symfony\Component\HttpFoundation\Session\Storage\MockArraySessionStorage; diff --git a/tests/unit/core/src/Service/ThemeImageServiceTest.php b/tests/unit/core/src/Service/ThemeImageServiceTest.php index ce695f261..dfc1a027f 100644 --- a/tests/unit/core/src/Service/ThemeImageServiceTest.php +++ b/tests/unit/core/src/Service/ThemeImageServiceTest.php @@ -2,8 +2,8 @@ namespace App\Tests\unit\core\src\Service; -use App\Service\ThemeImageFinder; -use App\Service\ThemeImageService; +use App\Themes\Service\ThemeImageFinder; +use App\Themes\Service\ThemeImageService; use App\Tests\UnitTester; use Codeception\Test\Unit; use Exception;