Skip to content

Commit 48cd48f

Browse files
committed
ACP2E-2689: No Appropriate error message when website id is wrong in the request
- Fixed the build failues.
1 parent d6d8b58 commit 48cd48f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tests/api-functional/testsuite/Magento/Catalog/Api/TierPriceStorageTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,8 +344,8 @@ public function testCheckWebsite()
344344
'quantity' => 3,
345345
'extension_attributes' => []
346346
];
347+
$response = $this->_webApiCall($serviceInfo, ['prices' => [$tierPriceWithInvalidWebsiteId]]);
347348
if (isset($response) && is_array($response)) {
348-
$response = $this->_webApiCall($serviceInfo, ['prices' => [$tierPriceWithInvalidWebsiteId]]);
349349
$this->assertNotEmpty($response);
350350
// phpcs:disable Generic.Files.LineLength.TooLong
351351
$message = 'Invalid attribute Website ID = %websiteId. Row ID: SKU = %SKU, Website ID: %websiteId, Customer Group: %customerGroup, Quantity: %qty.';

0 commit comments

Comments
 (0)