diff --git a/tests/Service/ParticipantServiceTest.php b/tests/Service/ParticipantServiceTest.php index 13bde6c..6d81f5f 100644 --- a/tests/Service/ParticipantServiceTest.php +++ b/tests/Service/ParticipantServiceTest.php @@ -64,7 +64,7 @@ class ParticipantServiceTest extends BaseTestCase static::assertInstanceOf(Client::class, $this->serviceWithoutParticipants->getClient()); static::assertInstanceOf(Client::class, $this->serviceWithParticipants->getClient()); - $connectionConfiguration = new ConnectionConfiguration('http://test.com', 'test', 'test'); + $connectionConfiguration = $this->getConnectionConfiguration(); $client = new Client($connectionConfiguration); $participantService = new ParticipantService($client); diff --git a/tests/Service/SurveyServiceTest.php b/tests/Service/SurveyServiceTest.php index 2f62b2a..e3517b8 100644 --- a/tests/Service/SurveyServiceTest.php +++ b/tests/Service/SurveyServiceTest.php @@ -62,7 +62,7 @@ class SurveyServiceTest extends BaseTestCase static::assertInstanceOf(Client::class, $this->serviceWithoutSurveys->getClient()); static::assertInstanceOf(Client::class, $this->serviceWithSurveys->getClient()); - $connectionConfiguration = new ConnectionConfiguration('http://test.com', 'test', 'test'); + $connectionConfiguration = $this->getConnectionConfiguration(); $client = new Client($connectionConfiguration); $surveyService = new SurveyService($client);