From e1d91f64ec448e43e23fdf22dfcf4d8aadaeeb17 Mon Sep 17 00:00:00 2001 From: Markus Klein Date: Fri, 29 Jan 2021 11:45:10 +0100 Subject: [PATCH] [BUGFIX] Fix namespace for campaign classes --- Classes/CampaignsFactory.php | 3 +-- Configuration/Services.yaml | 2 +- Tests/Unit/CampaignsFactoryTest.php | 8 ++++---- Tests/Unit/TcaEnhancerTest.php | 8 ++++---- 4 files changed, 10 insertions(+), 11 deletions(-) diff --git a/Classes/CampaignsFactory.php b/Classes/CampaignsFactory.php index 1d616c2..32fef46 100644 --- a/Classes/CampaignsFactory.php +++ b/Classes/CampaignsFactory.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace SkillDisplay\Typo3Extension; +namespace SkillDisplay\SkilldisplayContent; /* * Copyright (C) 2021 Daniel Siepmann @@ -25,7 +25,6 @@ namespace SkillDisplay\Typo3Extension; use GuzzleHttp\Client; use SkillDisplay\PHPToolKit\Api\Campaigns; -use SkillDisplay\Typo3Extension\SettingsFactory; class CampaignsFactory { diff --git a/Configuration/Services.yaml b/Configuration/Services.yaml index f6ea737..93db19f 100644 --- a/Configuration/Services.yaml +++ b/Configuration/Services.yaml @@ -40,5 +40,5 @@ services: SkillDisplay\SkilldisplayContent\Backend\Preview: public: true - SkillDisplay\Typo3Extension\TcaEnhancer: + SkillDisplay\SkilldisplayContent\TcaEnhancer: public: true diff --git a/Tests/Unit/CampaignsFactoryTest.php b/Tests/Unit/CampaignsFactoryTest.php index 7af8940..20500f6 100644 --- a/Tests/Unit/CampaignsFactoryTest.php +++ b/Tests/Unit/CampaignsFactoryTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace SkillDisplay\Typo3Extension\Tests\Unit; +namespace SkillDisplay\SkilldisplayContent\Tests\Unit; /* * Copyright (C) 2021 Daniel Siepmann @@ -28,11 +28,11 @@ use PHPUnit\Framework\TestCase; use Prophecy\PhpUnit\ProphecyTrait; use SkillDisplay\PHPToolKit\Api\Campaigns; use SkillDisplay\PHPToolKit\Configuration\Settings; -use SkillDisplay\Typo3Extension\CampaignsFactory; -use SkillDisplay\Typo3Extension\SettingsFactory; +use SkillDisplay\SkilldisplayContent\CampaignsFactory; +use SkillDisplay\SkilldisplayContent\SettingsFactory; /** - * @covers SkillDisplay\Typo3Extension\CampaignsFactory + * @covers SkillDisplay\SkilldisplayContent\CampaignsFactory */ class CampaignsFactoryTest extends TestCase { diff --git a/Tests/Unit/TcaEnhancerTest.php b/Tests/Unit/TcaEnhancerTest.php index f27b8ac..d0dee34 100644 --- a/Tests/Unit/TcaEnhancerTest.php +++ b/Tests/Unit/TcaEnhancerTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace SkillDisplay\Typo3Extension\Tests\Unit; +namespace SkillDisplay\SkilldisplayContent\Tests\Unit; /* * Copyright (C) 2021 Daniel Siepmann @@ -27,11 +27,11 @@ use PHPUnit\Framework\TestCase; use Prophecy\PhpUnit\ProphecyTrait; use SkillDisplay\PHPToolKit\Api\Campaigns; use SkillDisplay\PHPToolKit\Entity\Campaign; -use SkillDisplay\Typo3Extension\CampaignsFactory; -use SkillDisplay\Typo3Extension\TcaEnhancer; +use SkillDisplay\SkilldisplayContent\CampaignsFactory; +use SkillDisplay\SkilldisplayContent\TcaEnhancer; /** - * @covers SkillDisplay\Typo3Extension\TcaEnhancer + * @covers SkillDisplay\SkilldisplayContent\TcaEnhancer */ class TcaEnhancerTest extends TestCase {