Skip to content

Commit 99ec7d7

Browse files
committed
AC-10821: Static Test fixes
1 parent 4cf2d07 commit 99ec7d7

File tree

5 files changed

+9
-5
lines changed

5 files changed

+9
-5
lines changed

app/code/Magento/Backend/Test/Unit/Block/Page/System/Config/Robots/ResetTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
/**
2222
* @deprecated Original class is deprecated
23+
* @see Reset
2324
*/
2425
class ResetTest extends TestCase
2526
{
@@ -54,7 +55,7 @@ protected function setUp(): void
5455
}
5556

5657
/**
57-
* @covers \Magento\Backend\Block\Page\System\Config\Robots\Reset::getRobotsDefaultCustomInstructions
58+
* @covers Reset::getRobotsDefaultCustomInstructions
5859
*/
5960
public function testGetRobotsDefaultCustomInstructions()
6061
{

app/code/Magento/Bundle/Test/Unit/Model/Option/SaveActionTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ protected function setUp(): void
9494
$this->linkManagement,
9595
$this->storeManager,
9696
$this->addChildren
97-
9897
);
9998
}
10099

app/code/Magento/Bundle/Test/Unit/Model/ResourceModel/SelectionTest.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,12 @@ public function testSaveSelectionPrice()
8989
->willReturn('catalog_product_bundle_selection_price');
9090
$this->context->expects($this->once())->method('getResources')->willReturn($parentResources);
9191

92-
$selection = new ResourceSelection($this->context, $this->metadataPool, 'test_connection_name',$this->entityManager);
92+
$selection = new ResourceSelection(
93+
$this->context,
94+
$this->metadataPool,
95+
'test_connection_name',
96+
$this->entityManager
97+
);
9398
$selection->saveSelectionPrice($item);
9499
}
95100
}

app/code/Magento/CatalogUrlRewrite/Test/Unit/Model/Storage/DynamicStorageTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ protected function setUp(): void
160160
*/
161161
public function testFindProductRewriteByRequestPath(
162162
array $data,
163-
$productFromDb,
163+
$productFromDb,
164164
string $categorySuffix,
165165
$categoryFromDb,
166166
bool $canBeShownInCategory,

app/code/Magento/Checkout/Test/Unit/Model/SessionTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ protected function setUp(): void
5959
]
6060
];
6161
$this->helper->prepareObjectManager($objects);
62-
6362
}
6463

6564
/**

0 commit comments

Comments
 (0)