mirror of
https://github.com/wiosna-dev/limesurvey-api-client.git
synced 2026-03-12 10:11:49 +01:00
Base class for one item - add class constructor & allow to set values directly in the constructor
This commit is contained in:
@@ -297,13 +297,13 @@ class ParticipantServiceTest extends BaseTestCase
|
||||
|
||||
$allParticipants = new Participants([
|
||||
1 => new Collection([
|
||||
(new Participant())->setValues([
|
||||
new Participant([
|
||||
'firstname' => 'John',
|
||||
'lastname' => 'Scott',
|
||||
'email' => 'john@scott.com',
|
||||
'completed' => 'Y',
|
||||
]),
|
||||
(new Participant())->setValues([
|
||||
new Participant([
|
||||
'firstname' => 'Mary',
|
||||
'lastname' => 'Jane',
|
||||
'email' => 'mary@jane.com',
|
||||
|
||||
Reference in New Issue
Block a user