Skip to content

Commit 4ed4d09

Browse files
committed
Disabled followRedirects
1 parent 66e99b6 commit 4ed4d09

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Codeception/Module/Nette.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ public function _before(TestCase $test)
8383
$this->container = new $class;
8484
$this->client = new NetteConnector();
8585
$this->client->setContainer($this->container);
86+
// TODO: make this configurable
87+
$this->client->followRedirects(FALSE);
8688
parent::_before($test);
8789
}
8890

0 commit comments

Comments
 (0)