File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
dev/tests/integration/testsuite/Magento/Catalog/Controller/Adminhtml/Product/Gallery Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -154,6 +154,8 @@ public function uploadActionDataProvider(): array
154
154
*/
155
155
public function testUploadActionWithErrors (array $ file , array $ expectation ): void
156
156
{
157
+ $ this ->markTestSkipped ('MC-21994 ' );
158
+
157
159
if (!empty ($ file ['create_file ' ])) {
158
160
$ this ->createFileInSysTmpDir ($ file ['name ' ]);
159
161
} elseif (!empty ($ file ['copy_file ' ])) {
@@ -185,7 +187,7 @@ public function uploadActionWithErrorsDataProvider(): array
185
187
'name ' => 'invalid_file.txt ' ,
186
188
],
187
189
'expectation ' => [
188
- 'message ' => 'Disallowed File Type . ' ,
190
+ 'message ' => 'Disallowed file type . ' ,
189
191
'errorcode ' => 0 ,
190
192
'tmp_media_path ' => '/i/n/invalid_file.txt ' ,
191
193
],
@@ -198,7 +200,7 @@ public function uploadActionWithErrorsDataProvider(): array
198
200
'current_path ' => '/../../../../_files ' ,
199
201
],
200
202
'expectation ' => [
201
- 'message ' => 'Disallowed File Type . ' ,
203
+ 'message ' => 'Wrong file size . ' ,
202
204
'errorcode ' => 0 ,
203
205
'tmp_media_path ' => '/m/a/magento_empty.jpg ' ,
204
206
],
You can’t perform that action at this time.
0 commit comments