Skip to content

Commit 60a07a3

Browse files
committed
MQE-1911: --allow-skipped removing test hooks
- static check fix
1 parent 04ef38e commit 60a07a3

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

dev/tests/unit/Magento/FunctionalTestFramework/Util/TestGeneratorTest.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,13 @@ public function testAllowSkipped()
8484

8585
$annotations = ['skip' => ['issue']];
8686
$beforeHook = new TestHookObject("before", "sampleTest", ['beforeAction' => $beforeActionObject]);
87-
$testObject = new TestObject("sampleTest", ["fakeAction" => $actionObject], $annotations, ["before" => $beforeHook], "filename");
87+
$testObject = new TestObject(
88+
"sampleTest",
89+
["fakeAction" => $actionObject],
90+
$annotations,
91+
["before" => $beforeHook],
92+
"filename"
93+
);
8894

8995
$testGeneratorObject = TestGenerator::getInstance("", ["sampleTest" => $testObject]);
9096
$output = $testGeneratorObject->assembleTestPhp($testObject);

0 commit comments

Comments
 (0)