@@ -173,33 +173,6 @@ public function testCreateUploadsProvidedFileContent()
173
173
$ this ->assertNull ($ sample ->getSampleUrl ());
174
174
}
175
175
176
- /**
177
- * @magentoApiDataFixture Magento/Downloadable/_files/product_downloadable.php
178
- */
179
- public function testCreateSavesTitleInStoreViewScope ()
180
- {
181
- $ requestData = [
182
- 'isGlobalScopeContent ' => false ,
183
- 'sku ' => 'downloadable-product ' ,
184
- 'sample ' => [
185
- 'title ' => 'Store View Title ' ,
186
- 'sort_order ' => 1 ,
187
- 'sample_url ' => 'http://www.sample.example.com/ ' ,
188
- 'sample_type ' => 'url ' ,
189
- ],
190
- ];
191
-
192
- $ newSampleId = $ this ->_webApiCall ($ this ->createServiceInfo , $ requestData );
193
- $ sample = $ this ->getTargetSample ($ this ->getTargetProduct (), $ newSampleId );
194
- $ globalScopeSample = $ this ->getTargetSample ($ this ->getTargetProduct (true ), $ newSampleId );
195
- $ this ->assertNotNull ($ sample );
196
- $ this ->assertEquals ($ requestData ['sample ' ]['title ' ], $ sample ->getTitle ());
197
- $ this ->assertEquals ($ requestData ['sample ' ]['sort_order ' ], $ sample ->getSortOrder ());
198
- $ this ->assertEquals ($ requestData ['sample ' ]['sample_url ' ], $ sample ->getSampleUrl ());
199
- $ this ->assertEquals ($ requestData ['sample ' ]['sample_type ' ], $ sample ->getSampleType ());
200
- $ this ->assertEmpty ($ globalScopeSample ->getTitle ());
201
- }
202
-
203
176
/**
204
177
* @magentoApiDataFixture Magento/Downloadable/_files/product_downloadable.php
205
178
*/
0 commit comments