diff --git a/src/SplitTestsByGroups.php b/src/SplitTestsByGroups.php index 4571404..8d2d8d8 100644 --- a/src/SplitTestsByGroups.php +++ b/src/SplitTestsByGroups.php @@ -83,7 +83,7 @@ public function run() $this->printTaskInfo("Processing ".count($tests)." tests"); // splitting tests by groups foreach ($tests as $test) { - $groups[($i % $this->numGroups) + 1][] = \Codeception\TestCase::getTestFullName($test); + $groups[($i % $this->numGroups) + 1][] = \Codeception\Test\Descriptor::getTestFullName($test); $i++; }