File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33use Codeception \Step ;
44use Codeception \Util \Stub ;
5+ use Facebook \WebDriver \Cookie ;
56use Facebook \WebDriver \Remote \DesiredCapabilities ;
67use Facebook \WebDriver \Remote \RemoteWebDriver ;
78use Facebook \WebDriver \WebDriverBy ;
@@ -675,17 +676,17 @@ public function testSaveSessionSnapshotsExcludeInvalidCookieDomains()
675676 $ fakeWdOptions = Stub::make ('\Facebook\WebDriver\WebDriverOptions ' , [
676677 'getCookies ' => Stub::atLeastOnce (function () {
677678 return [
678- [
679+ Cookie:: createFromArray ( [
679680 'name ' => 'PHPSESSID ' ,
680681 'value ' => '123456 ' ,
681682 'path ' => '/ ' ,
682- ],
683- [
683+ ]) ,
684+ Cookie:: createFromArray ( [
684685 'name ' => '3rdParty ' ,
685686 'value ' => '_value_ ' ,
686687 'path ' => '/ ' ,
687688 'domain ' => '.3rd-party.net ' ,
688- ]
689+ ]),
689690 ];
690691 }),
691692 ]);
You can’t perform that action at this time.
0 commit comments