@@ -19,6 +19,10 @@ class GalleryManagementTest extends WebapiAbstract
19
19
{
20
20
public const RESOURCE_PATH = '/V1/products/ ' ;
21
21
22
+ public const SERVICE_NAME = 'catalogGalleryManagementV1 ' ;
23
+
24
+ public const SERVICE_VERSION = 'V1 ' ;
25
+
22
26
/**
23
27
* @var DataFixtureStorage
24
28
*/
@@ -46,6 +50,11 @@ public function testContentAttributeInGetList(): void
46
50
'resourcePath ' => self ::RESOURCE_PATH .$ productSku ."/media " ,
47
51
'httpMethod ' => Request::HTTP_METHOD_GET ,
48
52
],
53
+ 'soap ' => [
54
+ 'service ' => self ::SERVICE_NAME ,
55
+ 'serviceVersion ' => self ::SERVICE_VERSION ,
56
+ 'operation ' => self ::SERVICE_NAME . 'getList ' ,
57
+ ],
49
58
];
50
59
$ response = $ this ->_webApiCall ($ serviceInfo , []);
51
60
$ this ->assertArrayHasKey ('content ' , $ response [0 ]);
@@ -69,6 +78,11 @@ public function testContentAttributeInGet(): void
69
78
'resourcePath ' => self ::RESOURCE_PATH .$ productSku ."/media/ " .$ entryId ,
70
79
'httpMethod ' => Request::HTTP_METHOD_GET ,
71
80
],
81
+ 'soap ' => [
82
+ 'service ' => self ::SERVICE_NAME ,
83
+ 'serviceVersion ' => self ::SERVICE_VERSION ,
84
+ 'operation ' => self ::SERVICE_NAME . 'get ' ,
85
+ ],
72
86
];
73
87
$ response = $ this ->_webApiCall ($ serviceInfo , []);
74
88
$ this ->assertArrayHasKey ('content ' , $ response );
0 commit comments