You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Arachne/Codeception/Util/Connector/Nette.php
-4Lines changed: 0 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,6 @@
3
3
namespaceArachne\Codeception\Util\Connector;
4
4
5
5
useNette\DI\Container;
6
-
useNette\Environment;
7
6
useNette\Http\IResponse;
8
7
useSymfony\Component\BrowserKit\Client;
9
8
useSymfony\Component\BrowserKit\Request;
@@ -41,9 +40,6 @@ public function doRequest($request)
41
40
// Container initialization can't be called earlier because Nette\Http\IRequest service might be initialized too soon and amOnPage method would not work anymore.
42
41
$this->container->initialize();
43
42
44
-
// Compatibility
45
-
Environment::setContext($this->container);
46
-
47
43
// The HTTP code from previous test sometimes survives in http_response_code() so it's necessary to reset it manually.
0 commit comments