From a51bdf90ecdaa1406054f5547656c53840eec456 Mon Sep 17 00:00:00 2001 From: Christian Dangl Date: Thu, 28 Sep 2023 16:33:04 +0200 Subject: [PATCH] NTR: fix broken trait namespace --- src/Facade/MolliePaymentDoPay.php | 2 +- {tests/PHPUnit => src}/Traits/StringTrait.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) rename {tests/PHPUnit => src}/Traits/StringTrait.php (88%) diff --git a/src/Facade/MolliePaymentDoPay.php b/src/Facade/MolliePaymentDoPay.php index 63258f766..71c3fdff8 100644 --- a/src/Facade/MolliePaymentDoPay.php +++ b/src/Facade/MolliePaymentDoPay.php @@ -22,9 +22,9 @@ use Kiener\MolliePayments\Service\UpdateOrderCustomFields; use Kiener\MolliePayments\Struct\MolliePaymentPrepareData; use Kiener\MolliePayments\Struct\Order\OrderAttributes; +use Kiener\MolliePayments\Traits\StringTrait; use Mollie\Api\Exceptions\ApiException; use Mollie\Api\Resources\OrderLine; -use MolliePayments\Tests\Traits\StringTrait; use Psr\Log\LoggerInterface; use Shopware\Core\Checkout\Order\OrderEntity; use Shopware\Core\Checkout\Payment\Cart\AsyncPaymentTransactionStruct; diff --git a/tests/PHPUnit/Traits/StringTrait.php b/src/Traits/StringTrait.php similarity index 88% rename from tests/PHPUnit/Traits/StringTrait.php rename to src/Traits/StringTrait.php index d822b3b75..cbc838978 100644 --- a/tests/PHPUnit/Traits/StringTrait.php +++ b/src/Traits/StringTrait.php @@ -1,6 +1,7 @@