mirror of
https://github.com/wiosna-dev/limesurvey-api-client.git
synced 2026-03-12 02:11:45 +01:00
Minor refactoring
This commit is contained in:
@@ -64,7 +64,7 @@ class ParticipantServiceTest extends BaseTestCase
|
|||||||
static::assertInstanceOf(Client::class, $this->serviceWithoutParticipants->getClient());
|
static::assertInstanceOf(Client::class, $this->serviceWithoutParticipants->getClient());
|
||||||
static::assertInstanceOf(Client::class, $this->serviceWithParticipants->getClient());
|
static::assertInstanceOf(Client::class, $this->serviceWithParticipants->getClient());
|
||||||
|
|
||||||
$connectionConfiguration = new ConnectionConfiguration('http://test.com', 'test', 'test');
|
$connectionConfiguration = $this->getConnectionConfiguration();
|
||||||
$client = new Client($connectionConfiguration);
|
$client = new Client($connectionConfiguration);
|
||||||
$participantService = new ParticipantService($client);
|
$participantService = new ParticipantService($client);
|
||||||
|
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ class SurveyServiceTest extends BaseTestCase
|
|||||||
static::assertInstanceOf(Client::class, $this->serviceWithoutSurveys->getClient());
|
static::assertInstanceOf(Client::class, $this->serviceWithoutSurveys->getClient());
|
||||||
static::assertInstanceOf(Client::class, $this->serviceWithSurveys->getClient());
|
static::assertInstanceOf(Client::class, $this->serviceWithSurveys->getClient());
|
||||||
|
|
||||||
$connectionConfiguration = new ConnectionConfiguration('http://test.com', 'test', 'test');
|
$connectionConfiguration = $this->getConnectionConfiguration();
|
||||||
$client = new Client($connectionConfiguration);
|
$client = new Client($connectionConfiguration);
|
||||||
$surveyService = new SurveyService($client);
|
$surveyService = new SurveyService($client);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user