Skip to content

Commit 52986ee

Browse files
committed
Fix failing unit test
1 parent 4d48d03 commit 52986ee

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/unit/Codeception/Module/WebDriverTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ public function testCreateTestScreenshotOnFail()
1919
[
2020
'getSignature' => 'testLogin',
2121
'getMetadata' => new Metadata(),
22+
'getScenario' => null,
2223
]
2324
);
2425
$fakeWd = Stub::make(self::WEBDRIVER_CLASS, [
@@ -38,8 +39,6 @@ public function testCreateTestScreenshotOnFail()
3839
$module->_failed($test, new \PHPUnit\Framework\AssertionFailedError());
3940
}
4041

41-
42-
4342
public function testCreateCestScreenshotOnFail()
4443
{
4544
$fakeWd = Stub::make(self::WEBDRIVER_CLASS, [

0 commit comments

Comments
 (0)