@@ -89,8 +89,8 @@ public function testClientCanPerformSpeechToTextRequest()
8989
9090 $ client = new ElevenLabsClient (
9191 $ httpClient ,
92- 'https://api.elevenlabs.io/v1 ' ,
9392 'my-api-key ' ,
93+ 'https://api.elevenlabs.io/v1 ' ,
9494 );
9595
9696 $ payload = $ normalizer ->normalize (Audio::fromFile (\dirname (__DIR__ , 5 ).'/fixtures/audio.mp3 ' ));
@@ -114,8 +114,8 @@ public function testClientCannotPerformTextToSpeechRequestWithoutValidPayload()
114114
115115 $ client = new ElevenLabsClient (
116116 $ mockHttpClient ,
117- 'https://api.elevenlabs.io/v1 ' ,
118117 'my-api-key ' ,
118+ 'https://api.elevenlabs.io/v1 ' ,
119119 );
120120
121121 $ this ->expectException (InvalidArgumentException::class);
@@ -142,8 +142,8 @@ public function testClientCanPerformTextToSpeechRequest()
142142
143143 $ client = new ElevenLabsClient (
144144 $ httpClient ,
145- 'https://api.elevenlabs.io/v1 ' ,
146145 'my-api-key ' ,
146+ 'https://api.elevenlabs.io/v1 ' ,
147147 );
148148
149149 $ client ->request (new ElevenLabs (ElevenLabs::ELEVEN_MULTILINGUAL_V2 , [
@@ -171,8 +171,8 @@ public function testClientCanPerformTextToSpeechRequestWhenVoiceKeyIsProvidedAsR
171171
172172 $ client = new ElevenLabsClient (
173173 $ httpClient ,
174- 'https://api.elevenlabs.io/v1 ' ,
175174 'my-api-key ' ,
175+ 'https://api.elevenlabs.io/v1 ' ,
176176 );
177177
178178 $ client ->request (new ElevenLabs (ElevenLabs::ELEVEN_MULTILINGUAL_V2 ), [
@@ -200,8 +200,8 @@ public function testClientCanPerformTextToSpeechRequestAsStream()
200200
201201 $ client = new ElevenLabsClient (
202202 $ httpClient ,
203- 'https://api.elevenlabs.io/v1 ' ,
204203 'my-api-key ' ,
204+ 'https://api.elevenlabs.io/v1 ' ,
205205 );
206206
207207 $ result = $ client ->request (new ElevenLabs (ElevenLabs::ELEVEN_MULTILINGUAL_V2 , [
@@ -231,8 +231,8 @@ public function testClientCanPerformTextToSpeechRequestAsStreamVoiceKeyIsProvide
231231
232232 $ client = new ElevenLabsClient (
233233 $ httpClient ,
234- 'https://api.elevenlabs.io/v1 ' ,
235234 'my-api-key ' ,
235+ 'https://api.elevenlabs.io/v1 ' ,
236236 );
237237
238238 $ result = $ client ->request (new ElevenLabs (ElevenLabs::ELEVEN_MULTILINGUAL_V2 ), [
0 commit comments