From c53bb4f69dc0c5cf99bc3ae40304aa106713075a Mon Sep 17 00:00:00 2001 From: Yaroslav Rogoza Date: Thu, 13 Sep 2018 17:26:50 +0200 Subject: [PATCH] Removed placeholder test --- .../GraphQl/Catalog/MediaGalleryTest.php | 27 ------------------- 1 file changed, 27 deletions(-) diff --git a/dev/tests/api-functional/testsuite/Magento/GraphQl/Catalog/MediaGalleryTest.php b/dev/tests/api-functional/testsuite/Magento/GraphQl/Catalog/MediaGalleryTest.php index f99ae882e9cd2..4fe31fd400d3f 100644 --- a/dev/tests/api-functional/testsuite/Magento/GraphQl/Catalog/MediaGalleryTest.php +++ b/dev/tests/api-functional/testsuite/Magento/GraphQl/Catalog/MediaGalleryTest.php @@ -45,33 +45,6 @@ public function testProductSmallImageUrlWithExistingImage() self::assertTrue($this->checkImageExists($response['products']['items'][0]['small_image']['url'])); } - /** - * small_image_url should contain a placeholder when there's no small image assigned - * to the product - * - * @magentoApiDataFixture Magento/Catalog/_files/product_simple.php - */ - public function testProductSmallImageUrlWithNoImage() - { - $productSku = 'simple'; - $query = <<graphQlQuery($query); - - self::assertArrayHasKey('small_image', $response['products']['items'][0]); - self::assertContains('placeholder/small_image.jpg', $response['products']['items'][0]['small_image']['url']); - self::assertTrue($this->checkImageExists($response['products']['items'][0]['small_image']['url'])); - } - /** * @param string $url * @return bool