diff --git a/src/Sylius/Component/Core/Test/Services/DefaultChannelFactory.php b/src/Sylius/Component/Core/Test/Services/DefaultChannelFactory.php index 924a6f29283..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; @@ -55,9 +54,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);