Skip to content

Commit c0eccb4

Browse files
committed
ACP2E-3660: REST endpoint Product Import Json not validate the mandatory fields
1 parent 181e24f commit c0eccb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/CatalogImportExport/Test/Unit/Model/Import/ProductTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1448,7 +1448,7 @@ public function testValidateValidateOptionEntity(): void
14481448
]
14491449
];
14501450
$importProduct = $this->createModelMockWithErrorAggregator(
1451-
['addRowError', 'getOptionEntity'],
1451+
['addRowError', 'getOptionEntity', 'getNewSku'],
14521452
['isRowInvalid' => true]
14531453
);
14541454

0 commit comments

Comments
 (0)