Skip to content

Commit dd12ca5

Browse files
committed
Fixed compatibility with Nette 2.1
1 parent cb3701a commit dd12ca5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Codeception/Module/Nette.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function _beforeSuite($settings = array())
9090

9191
public function _afterSuite()
9292
{
93-
$this->robotLoader->unregister();
93+
return spl_autoload_unregister(array($this->robotLoader, 'tryLoad'));
9494
}
9595

9696
public function _before(TestCase $test)

0 commit comments

Comments
 (0)