Skip to content

Commit 95e0b23

Browse files
committed
MQE-1117: dontSeeJsError does not catch JS errors
- fix static test issue
1 parent 1579a5f commit 95e0b23

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Magento/FunctionalTestingFramework/Extension/BaseExtension.php

+4-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313

1414
/**
1515
* Class BaseExtension
16-
*
17-
* @SuppressWarnings(PHPMD.UnusedLocalVariable)
1816
*/
1917
class BaseExtension extends Extension
2018
{
@@ -41,6 +39,8 @@ class BaseExtension extends Extension
4139
* @param \Codeception\Event\TestEvent $e
4240
* @return void
4341
* @throws \Exception
42+
*
43+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
4444
*/
4545
public function beforeTest(\Codeception\Event\TestEvent $e)
4646
{
@@ -53,6 +53,8 @@ public function beforeTest(\Codeception\Event\TestEvent $e)
5353
* @param \Codeception\Event\StepEvent $e
5454
* @return void
5555
* @throws \Exception
56+
*
57+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
5658
*/
5759
public function beforeStep(\Codeception\Event\StepEvent $e)
5860
{

0 commit comments

Comments
 (0)