Skip to content

Commit 12b6020

Browse files
committed
MC-37558: Create automated test for "Override Category settings on Store View level"
1 parent 4ffbd71 commit 12b6020

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

dev/tests/integration/testsuite/Magento/Catalog/Controller/Adminhtml/Category/Save/UpdateCategoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ protected function setUp(): void
4545
* @param array $postData
4646
* @return void
4747
*/
48-
public function testUpdateCategoryForDefaultStoreView($postData): void
48+
public function testUpdateCategoryForDefaultStoreView(array $postData): void
4949
{
5050
$storeId = (int)$this->storeManager->getStore('default')->getId();
5151
$postData = array_merge($postData, ['store_id' => $storeId]);

dev/tests/integration/testsuite/Magento/Catalog/Model/CategoryRepositoryTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
* Provide tests for CategoryRepository model.
2525
*
2626
* @magentoDbIsolation enabled
27+
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
2728
*/
2829
class CategoryRepositoryTest extends TestCase
2930
{

0 commit comments

Comments
 (0)