Skip to content

Commit e6d26be

Browse files
AC-15635: PHPUnit 12 Upgrade | Fix integration and static failure
1 parent 898d7a5 commit e6d26be

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dev/tests/integration/testsuite/Magento/Framework/ObjectManager/ResetAfterRequestTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ public static function resetAfterRequestClassDataProvider()
8282
if (str_contains($type, "_files")) {
8383
continue; // We have to skip the fixture files that collectModuleClasses returns;
8484
}
85+
if (str_contains($type, "\\Test\\Unit\\Helper\\")) {
86+
continue; // Skip unit test helper classes - they have mock constructors
87+
}
8588
try {
8689
if (!class_exists($type)) {
8790
continue;

0 commit comments

Comments
 (0)