mirror of
https://github.com/pestphp/pest.git
synced 2026-03-09 01:07:23 +01:00
feat: add repeat iteration as function argument if no extra dataset is provided
This commit is contained in:
@ -116,7 +116,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