Skip to content

Commit 68d4b48

Browse files
AC-15635: PHPUnit 12 Upgrade | Fix Unit Test Failure
1 parent da14049 commit 68d4b48

File tree

3 files changed

+6
-66
lines changed

3 files changed

+6
-66
lines changed

app/code/Magento/Eav/Test/Unit/Helper/AttributeGroupInterfaceTestHelper.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?php
22
/**
3-
* Copyright © Adobe, Inc. All rights reserved.
3+
* Copyright 2025 Adobe
4+
* All Rights Reserved.
45
*/
56
declare(strict_types=1);
67

@@ -13,6 +14,9 @@
1314
*/
1415
class AttributeGroupInterfaceTestHelper extends Group
1516
{
17+
/**
18+
* @var string
19+
*/
1620
private string $attributeGroupCode = '';
1721

1822
public function __construct()
@@ -30,5 +34,4 @@ public function setAttributeGroupCode($value)
3034
$this->attributeGroupCode = $value;
3135
return $this;
3236
}
33-
}
34-
37+
}

app/code/Magento/GraphQl/Test/Unit/Helper/ContextExtensionTestHelper.php

Lines changed: 0 additions & 43 deletions
This file was deleted.

lib/internal/Magento/Framework/Data/Test/Unit/Helper/TextTestHelper.php

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77

88
namespace Magento\Framework\Data\Test\Unit\Helper;
99

10-
use Magento\Framework\Data\Form\Element\Factory;
11-
use Magento\Framework\Data\Form\Element\CollectionFactory;
12-
use Magento\Framework\Escaper;
1310
use Magento\Framework\Data\Form\Element\Text;
1411

1512
/**
@@ -25,23 +22,6 @@ class TextTestHelper extends Text
2522
/** @var mixed */
2623
private $form = null;
2724

28-
/**
29-
* Constructor
30-
*
31-
* @param Factory $factoryElement
32-
* @param CollectionFactory $collectionFactory
33-
* @param Escaper $escaper
34-
* @param array $data
35-
*/
36-
public function __construct(
37-
Factory $factoryElement,
38-
CollectionFactory $collectionFactory,
39-
Escaper $escaper,
40-
array $data = []
41-
) {
42-
parent::__construct($factoryElement, $collectionFactory, $escaper, $data);
43-
}
44-
4525
/**
4626
* Set value
4727
*

0 commit comments

Comments
 (0)