1515 $ _COOKIE = [];
1616
1717 $ this ->configuration = [
18- 'domain ' => '__test_domain__ ' ,
18+ 'domain ' => 'domain.test ' ,
1919 'clientId ' => '__test_client_id__ ' ,
2020 'cookieSecret ' => uniqid (),
2121 'clientSecret ' => '__test_client_secret__ ' ,
@@ -110,7 +110,7 @@ public function defer(
110110
111111 expect ($ url )
112112 ->scheme ->toEqual ('https ' )
113- ->host ->toEqual ('__test_domain__ ' )
113+ ->host ->toEqual ('domain.test ' )
114114 ->path ->toEqual ('/authorize ' )
115115 ->query
116116 ->toContain ('scope=openid%20profile%20email ' )
@@ -134,7 +134,7 @@ public function defer(
134134
135135 expect ($ url )
136136 ->scheme ->toEqual ('https ' )
137- ->host ->toEqual ('__test_domain__ ' )
137+ ->host ->toEqual ('domain.test ' )
138138 ->path ->toEqual ('/authorize ' )
139139 ->query
140140 ->toContain ('scope=openid%20profile%20email ' )
@@ -161,7 +161,7 @@ public function defer(
161161
162162 expect ($ url )
163163 ->scheme ->toEqual ('https ' )
164- ->host ->toEqual ('__test_domain__ ' )
164+ ->host ->toEqual ('domain.test ' )
165165 ->path ->toEqual ('/authorize ' )
166166 ->query
167167 ->toContain ('scope= ' . $ params ['scope ' ])
@@ -178,7 +178,7 @@ public function defer(
178178
179179 expect ($ url )
180180 ->scheme ->toEqual ('https ' )
181- ->host ->toEqual ('__test_domain__ ' )
181+ ->host ->toEqual ('domain.test ' )
182182 ->path ->toEqual ('/authorize ' )
183183 ->query
184184 ->toContain ('state= ' )
@@ -192,7 +192,7 @@ public function defer(
192192
193193 expect ($ url )
194194 ->scheme ->toEqual ('https ' )
195- ->host ->toEqual ('__test_domain__ ' )
195+ ->host ->toEqual ('domain.test ' )
196196 ->path ->toEqual ('/authorize ' )
197197 ->query
198198 ->toContain ('code_challenge= ' )
@@ -208,7 +208,7 @@ public function defer(
208208
209209 expect ($ url )
210210 ->scheme ->toEqual ('https ' )
211- ->host ->toEqual ('__test_domain__ ' )
211+ ->host ->toEqual ('domain.test ' )
212212 ->path ->toEqual ('/authorize ' )
213213 ->query
214214 ->toContain ('max_age=1000 ' );
@@ -225,7 +225,7 @@ public function defer(
225225
226226 expect ($ url )
227227 ->scheme ->toEqual ('https ' )
228- ->host ->toEqual ('__test_domain__ ' )
228+ ->host ->toEqual ('domain.test ' )
229229 ->path ->toEqual ('/authorize ' )
230230 ->query
231231 ->toContain ('max_age=1001 ' );
@@ -238,7 +238,7 @@ public function defer(
238238
239239 expect ($ url )
240240 ->scheme ->toEqual ('https ' )
241- ->host ->toEqual ('__test_domain__ ' )
241+ ->host ->toEqual ('domain.test ' )
242242 ->path ->toEqual ('/authorize ' )
243243 ->query
244244 ->toContain ('screen_hint=signup ' );
@@ -255,7 +255,7 @@ public function defer(
255255
256256 expect ($ url )
257257 ->scheme ->toEqual ('https ' )
258- ->host ->toEqual ('__test_domain__ ' )
258+ ->host ->toEqual ('domain.test ' )
259259 ->path ->toEqual ('/authorize ' )
260260 ->query
261261 ->toContain ('invitation=__test_invitation__ ' )
@@ -280,7 +280,7 @@ public function defer(
280280
281281 expect ($ url )
282282 ->scheme ->toEqual ('https ' )
283- ->host ->toEqual ('__test_domain__ ' )
283+ ->host ->toEqual ('domain.test ' )
284284 ->path ->toEqual ('/v2/logout ' )
285285 ->query
286286 ->toContain ('returnTo= ' . $ returnUrl )
@@ -684,7 +684,7 @@ public function defer(
684684 expect ($ requestBody ['client_secret ' ])->toEqual ('__test_client_secret__ ' );
685685 expect ($ requestBody ['client_id ' ])->toEqual ('__test_client_id__ ' );
686686 expect ($ requestBody ['refresh_token ' ])->toEqual ('2.3.4 ' );
687- expect ($ request ->getUri ()->__toString ())->toEqual ('https://__test_domain__ /oauth/token ' );
687+ expect ($ request ->getUri ()->__toString ())->toEqual ('https://domain.test /oauth/token ' );
688688});
689689
690690test ('getCredentials() returns null when a session is not available ' , function (): void {
@@ -1002,7 +1002,7 @@ public function defer(
10021002 $ _GET [$ testParameterName ] = $ candidate ->token ;
10031003
10041004 $ auth0 = new \Auth0 \SDK \Auth0 (array_merge ($ this ->configuration , [
1005- 'domain ' => '__bad_domain__ ' ,
1005+ 'domain ' => 'domain.bad ' ,
10061006 'tokenJwksUri ' => $ candidate ->jwks ,
10071007 'tokenCache ' => $ candidate ->cached
10081008 ]));
0 commit comments