@@ -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