From ff0406b05fffedcd462888373d4d06233a9765a7 Mon Sep 17 00:00:00 2001 From: Kamil Kokot Date: Tue, 21 Aug 2018 13:46:07 +0200 Subject: [PATCH] Provide compatibility with Symfony 3.4 --- .../AddressBookCreateAddressApiTest.php | 1 - .../AddressBookRemoveAddressApiTest.php | 1 - .../AddressBookSetDefaultAddressApiTest.php | 1 - tests/Controller/AddressBookShowApiTest.php | 1 - .../AddressBookUpdateAddressApiTest.php | 1 - tests/Controller/CartAddCouponShopApiTest.php | 1 - tests/Controller/CartApiTest.php | 1 - .../CartChangeItemQuantityApiTest.php | 1 - tests/Controller/CartDropCartApiTest.php | 1 - tests/Controller/CartPickupApiTest.php | 1 - tests/Controller/CartPutItemToCartApiTest.php | 1 - tests/Controller/CartPutItemsToCartApiTest.php | 1 - .../Controller/CartRemoveCouponShopApiTest.php | 1 - .../CartRemoveItemFromCartApiTest.php | 1 - tests/Controller/CartSummarizeApiTest.php | 1 - tests/Controller/CheckoutAddressApiTest.php | 1 - .../CheckoutChoosePaymentMethodApiTest.php | 1 - .../CheckoutChooseShippingMethodApiTest.php | 1 - .../Controller/CheckoutCompleteOrderApiTest.php | 1 - ...utShowAvailablePaymentMethodsShopApiTest.php | 1 - ...tShowAvailableShippingMethodsShopApiTest.php | 1 - tests/Controller/CheckoutSummarizeApiTest.php | 1 - tests/Controller/CustomerLoginApiTest.php | 1 - tests/Controller/CustomerRegisterApiTest.php | 1 - .../CustomerRequestPasswordResettingApiTest.php | 1 - .../CustomerResendVerificationTokenApiTest.php | 1 - .../Controller/CustomerResetPasswordApiTest.php | 1 - .../CustomerUpdateCustomerApiTest.php | 1 - tests/Controller/CustomerVerifyApiTest.php | 1 - tests/Controller/JsonApiTestCase.php | 17 +++++++++++++++++ .../LoggedInCustomerDetailsActionTest.php | 3 +-- .../ProductAddReviewByCodeApiTest.php | 1 - .../ProductAddReviewBySlugApiTest.php | 1 - .../ProductShowCatalogByCodeApiTest.php | 1 - .../ProductShowCatalogBySlugApiTest.php | 1 - .../ProductShowDetailsByCodeApiTest.php | 1 - .../ProductShowDetailsBySlugApiTest.php | 1 - tests/Controller/ProductShowLatestApiTest.php | 1 - .../ProductShowReviewsByCodeApiTest.php | 1 - .../ProductShowReviewsBySlugApiTest.php | 1 - tests/Controller/TaxonShowDetailsApiTest.php | 1 - tests/Controller/TaxonShowTreeApiTest.php | 1 - 42 files changed, 18 insertions(+), 42 deletions(-) create mode 100644 tests/Controller/JsonApiTestCase.php diff --git a/tests/Controller/AddressBookCreateAddressApiTest.php b/tests/Controller/AddressBookCreateAddressApiTest.php index 073963cbe..807fad4d8 100644 --- a/tests/Controller/AddressBookCreateAddressApiTest.php +++ b/tests/Controller/AddressBookCreateAddressApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use PHPUnit\Framework\Assert; use Sylius\Component\Core\Model\AddressInterface; use Sylius\Component\Core\Model\Customer; diff --git a/tests/Controller/AddressBookRemoveAddressApiTest.php b/tests/Controller/AddressBookRemoveAddressApiTest.php index 4401f1a46..eb84ec0ba 100644 --- a/tests/Controller/AddressBookRemoveAddressApiTest.php +++ b/tests/Controller/AddressBookRemoveAddressApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use PHPUnit\Framework\Assert; use Sylius\Component\Core\Model\AddressInterface; use Sylius\Component\Core\Repository\AddressRepositoryInterface; diff --git a/tests/Controller/AddressBookSetDefaultAddressApiTest.php b/tests/Controller/AddressBookSetDefaultAddressApiTest.php index 9f11bda2d..8bc827230 100644 --- a/tests/Controller/AddressBookSetDefaultAddressApiTest.php +++ b/tests/Controller/AddressBookSetDefaultAddressApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use PHPUnit\Framework\Assert; use Sylius\Component\Core\Model\ShopUser; use Sylius\Component\Core\Repository\AddressRepositoryInterface; diff --git a/tests/Controller/AddressBookShowApiTest.php b/tests/Controller/AddressBookShowApiTest.php index 9bb965a56..46cb03f6c 100644 --- a/tests/Controller/AddressBookShowApiTest.php +++ b/tests/Controller/AddressBookShowApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use Symfony\Component\HttpFoundation\Response; use Tests\Sylius\ShopApiPlugin\Controller\Utils\ShopUserLoginTrait; diff --git a/tests/Controller/AddressBookUpdateAddressApiTest.php b/tests/Controller/AddressBookUpdateAddressApiTest.php index e621c6bd0..e53348d9b 100644 --- a/tests/Controller/AddressBookUpdateAddressApiTest.php +++ b/tests/Controller/AddressBookUpdateAddressApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use PHPUnit\Framework\Assert; use Sylius\Component\Core\Model\AddressInterface; use Sylius\Component\Core\Repository\AddressRepositoryInterface; diff --git a/tests/Controller/CartAddCouponShopApiTest.php b/tests/Controller/CartAddCouponShopApiTest.php index cde0d3b99..def6e37f2 100644 --- a/tests/Controller/CartAddCouponShopApiTest.php +++ b/tests/Controller/CartAddCouponShopApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use League\Tactician\CommandBus; use Sylius\ShopApiPlugin\Command\PickupCart; use Sylius\ShopApiPlugin\Command\PutSimpleItemToCart; diff --git a/tests/Controller/CartApiTest.php b/tests/Controller/CartApiTest.php index c58d7eb14..c0f2d5ba1 100644 --- a/tests/Controller/CartApiTest.php +++ b/tests/Controller/CartApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use Symfony\Component\HttpFoundation\Response; final class CartApiTest extends JsonApiTestCase diff --git a/tests/Controller/CartChangeItemQuantityApiTest.php b/tests/Controller/CartChangeItemQuantityApiTest.php index 4c1b1acdf..d8f7d0079 100644 --- a/tests/Controller/CartChangeItemQuantityApiTest.php +++ b/tests/Controller/CartChangeItemQuantityApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use League\Tactician\CommandBus; use Sylius\Component\Core\Model\OrderItemInterface; use Sylius\Component\Core\Repository\OrderRepositoryInterface; diff --git a/tests/Controller/CartDropCartApiTest.php b/tests/Controller/CartDropCartApiTest.php index e05936b57..f632b128e 100644 --- a/tests/Controller/CartDropCartApiTest.php +++ b/tests/Controller/CartDropCartApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use League\Tactician\CommandBus; use Sylius\Component\Core\Model\OrderInterface; use Sylius\ShopApiPlugin\Command\AddressOrder; diff --git a/tests/Controller/CartPickupApiTest.php b/tests/Controller/CartPickupApiTest.php index 07a327a11..2ea92ab1b 100644 --- a/tests/Controller/CartPickupApiTest.php +++ b/tests/Controller/CartPickupApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use League\Tactician\CommandBus; use Sylius\ShopApiPlugin\Command\PickupCart; use Symfony\Component\HttpFoundation\Response; diff --git a/tests/Controller/CartPutItemToCartApiTest.php b/tests/Controller/CartPutItemToCartApiTest.php index 602276ba9..8459968ed 100644 --- a/tests/Controller/CartPutItemToCartApiTest.php +++ b/tests/Controller/CartPutItemToCartApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use League\Tactician\CommandBus; use Sylius\Component\Core\Model\OrderInterface; use Sylius\ShopApiPlugin\Command\AddressOrder; diff --git a/tests/Controller/CartPutItemsToCartApiTest.php b/tests/Controller/CartPutItemsToCartApiTest.php index dc08a9a86..bd3675a0d 100644 --- a/tests/Controller/CartPutItemsToCartApiTest.php +++ b/tests/Controller/CartPutItemsToCartApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use League\Tactician\CommandBus; use Sylius\ShopApiPlugin\Command\PickupCart; use Symfony\Component\HttpFoundation\Response; diff --git a/tests/Controller/CartRemoveCouponShopApiTest.php b/tests/Controller/CartRemoveCouponShopApiTest.php index a03fb2361..34fe2ecf7 100644 --- a/tests/Controller/CartRemoveCouponShopApiTest.php +++ b/tests/Controller/CartRemoveCouponShopApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use League\Tactician\CommandBus; use Sylius\ShopApiPlugin\Command\AddCoupon; use Sylius\ShopApiPlugin\Command\PickupCart; diff --git a/tests/Controller/CartRemoveItemFromCartApiTest.php b/tests/Controller/CartRemoveItemFromCartApiTest.php index e82d46bbe..553173745 100644 --- a/tests/Controller/CartRemoveItemFromCartApiTest.php +++ b/tests/Controller/CartRemoveItemFromCartApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use League\Tactician\CommandBus; use Sylius\Component\Core\Model\OrderItemInterface; use Sylius\Component\Core\Repository\OrderRepositoryInterface; diff --git a/tests/Controller/CartSummarizeApiTest.php b/tests/Controller/CartSummarizeApiTest.php index 7fa210168..7262c54bc 100644 --- a/tests/Controller/CartSummarizeApiTest.php +++ b/tests/Controller/CartSummarizeApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use League\Tactician\CommandBus; use Sylius\ShopApiPlugin\Command\AddCoupon; use Sylius\ShopApiPlugin\Command\PickupCart; diff --git a/tests/Controller/CheckoutAddressApiTest.php b/tests/Controller/CheckoutAddressApiTest.php index ab28ad663..aa4fba16d 100644 --- a/tests/Controller/CheckoutAddressApiTest.php +++ b/tests/Controller/CheckoutAddressApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use League\Tactician\CommandBus; use Sylius\ShopApiPlugin\Command\PickupCart; use Sylius\ShopApiPlugin\Command\PutSimpleItemToCart; diff --git a/tests/Controller/CheckoutChoosePaymentMethodApiTest.php b/tests/Controller/CheckoutChoosePaymentMethodApiTest.php index 499347b9b..afaf53807 100644 --- a/tests/Controller/CheckoutChoosePaymentMethodApiTest.php +++ b/tests/Controller/CheckoutChoosePaymentMethodApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use League\Tactician\CommandBus; use Sylius\ShopApiPlugin\Command\AddressOrder; use Sylius\ShopApiPlugin\Command\ChooseShippingMethod; diff --git a/tests/Controller/CheckoutChooseShippingMethodApiTest.php b/tests/Controller/CheckoutChooseShippingMethodApiTest.php index 1f9ae431b..b70a0798f 100644 --- a/tests/Controller/CheckoutChooseShippingMethodApiTest.php +++ b/tests/Controller/CheckoutChooseShippingMethodApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use League\Tactician\CommandBus; use Sylius\ShopApiPlugin\Command\AddressOrder; use Sylius\ShopApiPlugin\Command\PickupCart; diff --git a/tests/Controller/CheckoutCompleteOrderApiTest.php b/tests/Controller/CheckoutCompleteOrderApiTest.php index 6e549df82..17d048acc 100644 --- a/tests/Controller/CheckoutCompleteOrderApiTest.php +++ b/tests/Controller/CheckoutCompleteOrderApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use League\Tactician\CommandBus; use Sylius\ShopApiPlugin\Command\AddressOrder; use Sylius\ShopApiPlugin\Command\ChoosePaymentMethod; diff --git a/tests/Controller/CheckoutShowAvailablePaymentMethodsShopApiTest.php b/tests/Controller/CheckoutShowAvailablePaymentMethodsShopApiTest.php index a9bd01f17..e1243c0a3 100644 --- a/tests/Controller/CheckoutShowAvailablePaymentMethodsShopApiTest.php +++ b/tests/Controller/CheckoutShowAvailablePaymentMethodsShopApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use League\Tactician\CommandBus; use Sylius\ShopApiPlugin\Command\AddressOrder; use Sylius\ShopApiPlugin\Command\ChooseShippingMethod; diff --git a/tests/Controller/CheckoutShowAvailableShippingMethodsShopApiTest.php b/tests/Controller/CheckoutShowAvailableShippingMethodsShopApiTest.php index 844022aa8..ea59b0ee9 100644 --- a/tests/Controller/CheckoutShowAvailableShippingMethodsShopApiTest.php +++ b/tests/Controller/CheckoutShowAvailableShippingMethodsShopApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use League\Tactician\CommandBus; use Sylius\ShopApiPlugin\Command\AddressOrder; use Sylius\ShopApiPlugin\Command\PickupCart; diff --git a/tests/Controller/CheckoutSummarizeApiTest.php b/tests/Controller/CheckoutSummarizeApiTest.php index 835515279..671a9332d 100644 --- a/tests/Controller/CheckoutSummarizeApiTest.php +++ b/tests/Controller/CheckoutSummarizeApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use League\Tactician\CommandBus; use Sylius\Component\Core\Model\OrderItemInterface; use Sylius\Component\Core\Repository\OrderRepositoryInterface; diff --git a/tests/Controller/CustomerLoginApiTest.php b/tests/Controller/CustomerLoginApiTest.php index 03b260485..ff1687f4f 100644 --- a/tests/Controller/CustomerLoginApiTest.php +++ b/tests/Controller/CustomerLoginApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\HttpFoundation\Response; use Tests\Sylius\ShopApiPlugin\Controller\Utils\PurgeSpooledMessagesTrait; diff --git a/tests/Controller/CustomerRegisterApiTest.php b/tests/Controller/CustomerRegisterApiTest.php index 6b619b3c2..15e9675f9 100644 --- a/tests/Controller/CustomerRegisterApiTest.php +++ b/tests/Controller/CustomerRegisterApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use PHPUnit\Framework\Assert; use Sylius\Component\Core\Test\Services\EmailCheckerInterface; use Sylius\Component\User\Repository\UserRepositoryInterface; diff --git a/tests/Controller/CustomerRequestPasswordResettingApiTest.php b/tests/Controller/CustomerRequestPasswordResettingApiTest.php index 17ac5bb99..77bb88c3d 100644 --- a/tests/Controller/CustomerRequestPasswordResettingApiTest.php +++ b/tests/Controller/CustomerRequestPasswordResettingApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use Sylius\Component\Core\Test\Services\EmailCheckerInterface; use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\HttpFoundation\Response; diff --git a/tests/Controller/CustomerResendVerificationTokenApiTest.php b/tests/Controller/CustomerResendVerificationTokenApiTest.php index d9a448f41..5ef86c35a 100644 --- a/tests/Controller/CustomerResendVerificationTokenApiTest.php +++ b/tests/Controller/CustomerResendVerificationTokenApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use Sylius\Component\Core\Test\Services\EmailCheckerInterface; use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\HttpFoundation\Response; diff --git a/tests/Controller/CustomerResetPasswordApiTest.php b/tests/Controller/CustomerResetPasswordApiTest.php index 13f8f1c33..0e3b690fd 100644 --- a/tests/Controller/CustomerResetPasswordApiTest.php +++ b/tests/Controller/CustomerResetPasswordApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use Sylius\Component\Core\Model\ShopUserInterface; use Sylius\Component\User\Repository\UserRepositoryInterface; use Symfony\Component\DependencyInjection\ContainerInterface; diff --git a/tests/Controller/CustomerUpdateCustomerApiTest.php b/tests/Controller/CustomerUpdateCustomerApiTest.php index 04efebcff..ac90c9df3 100644 --- a/tests/Controller/CustomerUpdateCustomerApiTest.php +++ b/tests/Controller/CustomerUpdateCustomerApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use PHPUnit\Framework\Assert; use Sylius\Component\Core\Model\CustomerInterface; use Sylius\Component\Core\Repository\CustomerRepositoryInterface; diff --git a/tests/Controller/CustomerVerifyApiTest.php b/tests/Controller/CustomerVerifyApiTest.php index 2ee3dfdfd..b8d682c39 100644 --- a/tests/Controller/CustomerVerifyApiTest.php +++ b/tests/Controller/CustomerVerifyApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use Sylius\Component\User\Repository\UserRepositoryInterface; use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\HttpFoundation\Response; diff --git a/tests/Controller/JsonApiTestCase.php b/tests/Controller/JsonApiTestCase.php new file mode 100644 index 000000000..a3cfd50af --- /dev/null +++ b/tests/Controller/JsonApiTestCase.php @@ -0,0 +1,17 @@ +get($id); + } + + return parent::get($id); + } +} diff --git a/tests/Controller/LoggedInCustomerDetailsActionTest.php b/tests/Controller/LoggedInCustomerDetailsActionTest.php index d9368170f..8272c7052 100644 --- a/tests/Controller/LoggedInCustomerDetailsActionTest.php +++ b/tests/Controller/LoggedInCustomerDetailsActionTest.php @@ -2,9 +2,8 @@ declare(strict_types=1); -namespace Tests\Sylius\ShopApiPlugin\Controller\Customer; +namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use Symfony\Component\HttpFoundation\Response; final class LoggedInCustomerDetailsActionTest extends JsonApiTestCase diff --git a/tests/Controller/ProductAddReviewByCodeApiTest.php b/tests/Controller/ProductAddReviewByCodeApiTest.php index 31ad96e76..f24d49511 100644 --- a/tests/Controller/ProductAddReviewByCodeApiTest.php +++ b/tests/Controller/ProductAddReviewByCodeApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use Symfony\Component\HttpFoundation\Response; final class ProductAddReviewByCodeApiTest extends JsonApiTestCase diff --git a/tests/Controller/ProductAddReviewBySlugApiTest.php b/tests/Controller/ProductAddReviewBySlugApiTest.php index 828af5d7c..9d076934c 100644 --- a/tests/Controller/ProductAddReviewBySlugApiTest.php +++ b/tests/Controller/ProductAddReviewBySlugApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use Symfony\Component\HttpFoundation\Response; final class ProductAddReviewBySlugApiTest extends JsonApiTestCase diff --git a/tests/Controller/ProductShowCatalogByCodeApiTest.php b/tests/Controller/ProductShowCatalogByCodeApiTest.php index a80f01e51..ee736f81f 100644 --- a/tests/Controller/ProductShowCatalogByCodeApiTest.php +++ b/tests/Controller/ProductShowCatalogByCodeApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use Symfony\Component\HttpFoundation\Response; final class ProductShowCatalogByCodeApiTest extends JsonApiTestCase diff --git a/tests/Controller/ProductShowCatalogBySlugApiTest.php b/tests/Controller/ProductShowCatalogBySlugApiTest.php index d6f3053ec..dfab943f1 100644 --- a/tests/Controller/ProductShowCatalogBySlugApiTest.php +++ b/tests/Controller/ProductShowCatalogBySlugApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use Symfony\Component\HttpFoundation\Response; final class ProductShowCatalogBySlugApiTest extends JsonApiTestCase diff --git a/tests/Controller/ProductShowDetailsByCodeApiTest.php b/tests/Controller/ProductShowDetailsByCodeApiTest.php index 43f34219b..247d77677 100644 --- a/tests/Controller/ProductShowDetailsByCodeApiTest.php +++ b/tests/Controller/ProductShowDetailsByCodeApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use Symfony\Component\HttpFoundation\Response; final class ProductShowDetailsByCodeApiTest extends JsonApiTestCase diff --git a/tests/Controller/ProductShowDetailsBySlugApiTest.php b/tests/Controller/ProductShowDetailsBySlugApiTest.php index eeb9168a9..db086ae35 100644 --- a/tests/Controller/ProductShowDetailsBySlugApiTest.php +++ b/tests/Controller/ProductShowDetailsBySlugApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use Symfony\Component\HttpFoundation\Response; final class ProductShowDetailsBySlugApiTest extends JsonApiTestCase diff --git a/tests/Controller/ProductShowLatestApiTest.php b/tests/Controller/ProductShowLatestApiTest.php index 8cf6c0d6a..767098f56 100644 --- a/tests/Controller/ProductShowLatestApiTest.php +++ b/tests/Controller/ProductShowLatestApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use Symfony\Component\HttpFoundation\Response; final class ProductShowLatestApiTest extends JsonApiTestCase diff --git a/tests/Controller/ProductShowReviewsByCodeApiTest.php b/tests/Controller/ProductShowReviewsByCodeApiTest.php index d6513828a..bca80712e 100644 --- a/tests/Controller/ProductShowReviewsByCodeApiTest.php +++ b/tests/Controller/ProductShowReviewsByCodeApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use Symfony\Component\HttpFoundation\Response; final class ProductShowReviewsByCodeApiTest extends JsonApiTestCase diff --git a/tests/Controller/ProductShowReviewsBySlugApiTest.php b/tests/Controller/ProductShowReviewsBySlugApiTest.php index 0e85bfba0..51ad1b3a2 100644 --- a/tests/Controller/ProductShowReviewsBySlugApiTest.php +++ b/tests/Controller/ProductShowReviewsBySlugApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use Symfony\Component\HttpFoundation\Response; final class ProductShowReviewsBySlugApiTest extends JsonApiTestCase diff --git a/tests/Controller/TaxonShowDetailsApiTest.php b/tests/Controller/TaxonShowDetailsApiTest.php index dc6a26e71..d448ce94b 100644 --- a/tests/Controller/TaxonShowDetailsApiTest.php +++ b/tests/Controller/TaxonShowDetailsApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use Symfony\Component\HttpFoundation\Response; final class TaxonShowDetailsApiTest extends JsonApiTestCase diff --git a/tests/Controller/TaxonShowTreeApiTest.php b/tests/Controller/TaxonShowTreeApiTest.php index 320530ff7..120846873 100644 --- a/tests/Controller/TaxonShowTreeApiTest.php +++ b/tests/Controller/TaxonShowTreeApiTest.php @@ -4,7 +4,6 @@ namespace Tests\Sylius\ShopApiPlugin\Controller; -use Lakion\ApiTestCase\JsonApiTestCase; use Symfony\Component\HttpFoundation\Response; final class TaxonShowTreeApiTest extends JsonApiTestCase