diff --git a/src/PendingObjects/TestCall.php b/src/PendingObjects/TestCall.php index cd65ae76..b6547596 100644 --- a/src/PendingObjects/TestCall.php +++ b/src/PendingObjects/TestCall.php @@ -81,7 +81,7 @@ final class TestCall */ public function with($data): TestCall { - $this->testCaseFactory->dataset = $data; + $this->testCaseFactory->datasets[] = $data; return $this; }