File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 19
19
"minimum-stability" : " dev" ,
20
20
"require" : {
21
21
"php" : " ^8.0" ,
22
- "codeception/codeception" : " ^5.0.0" ,
22
+ "codeception/codeception" : " ^5.0.0-RC6 " ,
23
23
"codeception/lib-innerbrowser" : " ^3.0"
24
24
},
25
25
"require-dev" : {
Original file line number Diff line number Diff line change @@ -333,7 +333,9 @@ public function _before(TestInterface $test)
333
333
334
334
// load fixtures before db transaction
335
335
if ($ test instanceof \Codeception \Test \Cest) {
336
- $ this ->loadFixtures ($ test ->getTestClass ());
336
+ $ this ->loadFixtures ($ test ->getTestInstance ());
337
+ } elseif ($ test instanceof \Codeception \Test \TestCaseWrapper) {
338
+ $ this ->loadFixtures ($ test ->getTestCase ());
337
339
} else {
338
340
$ this ->loadFixtures ($ test );
339
341
}
You can’t perform that action at this time.
0 commit comments