File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1212
1313use Codeception \Exception \ModuleConfigException ;
1414use Codeception \Module ;
15- use Codeception \TestCase ;
15+ use Codeception \TestInterface ;
1616use Doctrine \ORM \EntityManagerInterface ;
1717use PDOException ;
1818
1919class Doctrine extends Module
2020{
21- public function _before (TestCase $ test )
21+ public function _before (TestInterface $ test )
2222 {
2323 if ($ this ->config ['dump ' ]) {
2424 $ em = $ this ->getModule (Nette::class)->grabService (EntityManagerInterface::class);
Original file line number Diff line number Diff line change 1313use Arachne \Codeception \Connector \Nette as NetteConnector ;
1414use Arachne \Codeception \Module \Container as ContainerModule ;
1515use Codeception \Lib \Framework ;
16- use Codeception \TestCase ;
16+ use Codeception \TestInterface ;
1717use Nette \DI \Container ;
1818use Nette \DI \MissingServiceException ;
1919
@@ -51,7 +51,7 @@ public function _beforeSuite($settings = [])
5151 $ this ->path = $ settings ['path ' ];
5252 }
5353
54- public function _before (TestCase $ test )
54+ public function _before (TestInterface $ test )
5555 {
5656 $ this ->configFiles = null ;
5757 $ this ->container = null ;
@@ -78,7 +78,7 @@ public function useConfigFiles(array $configFiles)
7878 $ this ->configFiles = $ configFiles ;
7979 }
8080
81- public function _after (TestCase $ test )
81+ public function _after (TestInterface $ test )
8282 {
8383 parent ::_after ($ test );
8484
You can’t perform that action at this time.
0 commit comments