Skip to content

Commit 6162ae1

Browse files
author
lakshmana
committed
ACP2E-1526 : Added Soap parameters
1 parent 471c8cf commit 6162ae1

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

dev/tests/api-functional/testsuite/Magento/Catalog/Api/GalleryManagementTest.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ class GalleryManagementTest extends WebapiAbstract
1919
{
2020
public const RESOURCE_PATH = '/V1/products/';
2121

22+
public const SERVICE_NAME = 'catalogGalleryManagementV1';
23+
24+
public const SERVICE_VERSION = 'V1';
25+
2226
/**
2327
* @var DataFixtureStorage
2428
*/
@@ -46,6 +50,11 @@ public function testContentAttributeInGetList(): void
4650
'resourcePath' => self::RESOURCE_PATH.$productSku."/media",
4751
'httpMethod' => Request::HTTP_METHOD_GET,
4852
],
53+
'soap' => [
54+
'service' => self::SERVICE_NAME,
55+
'serviceVersion' => self::SERVICE_VERSION,
56+
'operation' => self::SERVICE_NAME . 'getList',
57+
],
4958
];
5059
$response = $this->_webApiCall($serviceInfo, []);
5160
$this->assertArrayHasKey('content', $response[0]);
@@ -69,6 +78,11 @@ public function testContentAttributeInGet(): void
6978
'resourcePath' => self::RESOURCE_PATH.$productSku."/media/".$entryId,
7079
'httpMethod' => Request::HTTP_METHOD_GET,
7180
],
81+
'soap' => [
82+
'service' => self::SERVICE_NAME,
83+
'serviceVersion' => self::SERVICE_VERSION,
84+
'operation' => self::SERVICE_NAME . 'get',
85+
],
7286
];
7387
$response = $this->_webApiCall($serviceInfo, []);
7488
$this->assertArrayHasKey('content', $response);

0 commit comments

Comments
 (0)