Skip to content

Commit 5ff8868

Browse files
committed
fix: call fixtures method
1 parent af9bd31 commit 5ff8868

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Codeception/Module/Yii2.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ private function loadFixtures(object $test): void
421421
) {
422422
$connectionWatcher = new ConnectionWatcher();
423423
$connectionWatcher->start();
424-
$this->haveFixtures($test->{$this->config['fixturesMethod']});
424+
$this->haveFixtures($test->{$this->config['fixturesMethod']}());
425425
$connectionWatcher->stop();
426426
$connectionWatcher->closeAll();
427427
}

0 commit comments

Comments
 (0)