mirror of
https://github.com/pestphp/pest.git
synced 2026-03-07 00:07:22 +01:00
Merge pull request #975 from Katalam/repeat
[2.x] Sharing `repeat` iteration as `dataset` variable
This commit is contained in:
@ -117,7 +117,7 @@ final class TestCaseMethodFactory
|
||||
*/
|
||||
public function receivesArguments(): bool
|
||||
{
|
||||
return $this->datasets !== [] || $this->depends !== [];
|
||||
return $this->datasets !== [] || $this->depends !== [] || $this->repetitions > 1;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user