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 1919 "minimum-stability" : " dev" ,
2020 "require" : {
2121 "php" : " ^8.0" ,
22- "codeception/codeception" : " ^5.0.0" ,
22+ "codeception/codeception" : " ^5.0.0-RC6 " ,
2323 "codeception/lib-innerbrowser" : " ^3.0"
2424 },
2525 "require-dev" : {
Original file line number Diff line number Diff line change @@ -333,7 +333,9 @@ public function _before(TestInterface $test)
333333
334334 // load fixtures before db transaction
335335 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 ());
337339 } else {
338340 $ this ->loadFixtures ($ test );
339341 }
You can’t perform that action at this time.
0 commit comments