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 12
12
13
13
use Codeception \Exception \ModuleConfigException ;
14
14
use Codeception \Module ;
15
- use Codeception \TestCase ;
15
+ use Codeception \TestInterface ;
16
16
use Doctrine \ORM \EntityManagerInterface ;
17
17
use PDOException ;
18
18
19
19
class Doctrine extends Module
20
20
{
21
- public function _before (TestCase $ test )
21
+ public function _before (TestInterface $ test )
22
22
{
23
23
if ($ this ->config ['dump ' ]) {
24
24
$ em = $ this ->getModule (Nette::class)->grabService (EntityManagerInterface::class);
Original file line number Diff line number Diff line change 13
13
use Arachne \Codeception \Connector \Nette as NetteConnector ;
14
14
use Arachne \Codeception \Module \Container as ContainerModule ;
15
15
use Codeception \Lib \Framework ;
16
- use Codeception \TestCase ;
16
+ use Codeception \TestInterface ;
17
17
use Nette \DI \Container ;
18
18
use Nette \DI \MissingServiceException ;
19
19
@@ -51,7 +51,7 @@ public function _beforeSuite($settings = [])
51
51
$ this ->path = $ settings ['path ' ];
52
52
}
53
53
54
- public function _before (TestCase $ test )
54
+ public function _before (TestInterface $ test )
55
55
{
56
56
$ this ->configFiles = null ;
57
57
$ this ->container = null ;
@@ -78,7 +78,7 @@ public function useConfigFiles(array $configFiles)
78
78
$ this ->configFiles = $ configFiles ;
79
79
}
80
80
81
- public function _after (TestCase $ test )
81
+ public function _after (TestInterface $ test )
82
82
{
83
83
parent ::_after ($ test );
84
84
You can’t perform that action at this time.
0 commit comments