Skip to content

Commit b1f199e

Browse files
ACQE-8152: Verify Rest-API updating product stock_item does not delete downloadable_product_links
- Fixed Satic test issue.
1 parent 620661b commit b1f199e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

dev/tests/api-functional/testsuite/Magento/Downloadable/Api/StockItemUpdatePreservesLinksTest.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,11 @@ private function verifyDownloadableLinksPreserved(array $originalLinks): void
143143
$this->assertGreaterThan(0, count($preservedLinks), 'Should have at least one downloadable link preserved');
144144

145145
$linkTitles = array_column($preservedLinks, 'title');
146-
$this->assertContains('Downloadable Product Link', $linkTitles,
147-
'Downloadable product link should be preserved');
146+
$this->assertContains(
147+
'Downloadable Product Link',
148+
$linkTitles,
149+
'Downloadable product link should be preserved'
150+
);
148151
}
149152

150153
/**

0 commit comments

Comments
 (0)