Skip to content

Commit 67adc27

Browse files
committed
resolved static test failures.
1 parent 62f13e0 commit 67adc27

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/code/Magento/Catalog/Model/Plugin/SpecialPricePluginForREST/SpecialPriceStoragePlugin.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
* Copyright 2025 Adobe
44
* All Rights Reserved.
55
*/
6+
declare(strict_types=1);
7+
68
namespace Magento\Catalog\Model\Plugin\SpecialPricePluginForREST;
79

810
use Magento\Catalog\Model\Product\Price\SpecialPriceStorage;

dev/tests/api-functional/testsuite/Magento/Catalog/Model/Plugin/SpecialPricePluginForREST/SpecialPriceStoragePluginTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ protected function setUp(): void
5656
public function testSpecialPriceIsAppliedToAllStoresInWebsite(): void
5757
{
5858
$this->_markTestAsRestOnly();
59-
$objectManager = Bootstrap::getObjectManager();
6059
$product = $this->fixtures->get('product');
6160
$sku = $product->getSku();
6261
$storeId= $product->getStoreId();
@@ -87,7 +86,7 @@ public function testSpecialPriceIsAppliedToAllStoresInWebsite(): void
8786
'token' => $accessToken,
8887
],
8988
];
90-
$response = $this->_webApiCall(
89+
$this->_webApiCall(
9190
$serviceInfo,
9291
[
9392
'prices' => [

0 commit comments

Comments
 (0)