From b55fb6e8fb707f256285a2f7509cd6120920de27 Mon Sep 17 00:00:00 2001 From: Gerd Weitenberg Date: Fri, 10 May 2024 14:02:35 +0200 Subject: [PATCH 1/2] Update DefaultChannelFactory.php hard dependency deleted --- .../Component/Core/Test/Services/DefaultChannelFactory.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Sylius/Component/Core/Test/Services/DefaultChannelFactory.php b/src/Sylius/Component/Core/Test/Services/DefaultChannelFactory.php index 924a6f29283..8bb4dd0a129 100644 --- a/src/Sylius/Component/Core/Test/Services/DefaultChannelFactory.php +++ b/src/Sylius/Component/Core/Test/Services/DefaultChannelFactory.php @@ -55,9 +55,6 @@ public function create(?string $code = null, ?string $name = null, ?string $curr $channel->addLocale($locale); $channel->setDefaultLocale($locale); - if ($channel->getShopBillingData() === null) { - $channel->setShopBillingData(new ShopBillingData()); - } $this->channelRepository->add($channel); From 00f08a83e62318abf0dc0b9ceb18bde95ef5ef07 Mon Sep 17 00:00:00 2001 From: Gerd Weitenberg Date: Fri, 10 May 2024 14:10:38 +0200 Subject: [PATCH 2/2] Update DefaultChannelFactory.php --- .../Component/Core/Test/Services/DefaultChannelFactory.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Sylius/Component/Core/Test/Services/DefaultChannelFactory.php b/src/Sylius/Component/Core/Test/Services/DefaultChannelFactory.php index 8bb4dd0a129..ee2e1e0a70b 100644 --- a/src/Sylius/Component/Core/Test/Services/DefaultChannelFactory.php +++ b/src/Sylius/Component/Core/Test/Services/DefaultChannelFactory.php @@ -15,7 +15,6 @@ use Sylius\Component\Channel\Factory\ChannelFactoryInterface; use Sylius\Component\Core\Model\ChannelInterface; -use Sylius\Component\Core\Model\ShopBillingData; use Sylius\Component\Currency\Model\CurrencyInterface; use Sylius\Component\Locale\Model\LocaleInterface; use Sylius\Component\Resource\Factory\FactoryInterface;