15
15
$ _COOKIE = [];
16
16
17
17
$ this ->configuration = [
18
- 'domain ' => '__test_domain__ ' ,
18
+ 'domain ' => 'domain.test ' ,
19
19
'clientId ' => '__test_client_id__ ' ,
20
20
'cookieSecret ' => uniqid (),
21
21
'clientSecret ' => '__test_client_secret__ ' ,
@@ -110,7 +110,7 @@ public function defer(
110
110
111
111
expect ($ url )
112
112
->scheme ->toEqual ('https ' )
113
- ->host ->toEqual ('__test_domain__ ' )
113
+ ->host ->toEqual ('domain.test ' )
114
114
->path ->toEqual ('/authorize ' )
115
115
->query
116
116
->toContain ('scope=openid%20profile%20email ' )
@@ -134,7 +134,7 @@ public function defer(
134
134
135
135
expect ($ url )
136
136
->scheme ->toEqual ('https ' )
137
- ->host ->toEqual ('__test_domain__ ' )
137
+ ->host ->toEqual ('domain.test ' )
138
138
->path ->toEqual ('/authorize ' )
139
139
->query
140
140
->toContain ('scope=openid%20profile%20email ' )
@@ -161,7 +161,7 @@ public function defer(
161
161
162
162
expect ($ url )
163
163
->scheme ->toEqual ('https ' )
164
- ->host ->toEqual ('__test_domain__ ' )
164
+ ->host ->toEqual ('domain.test ' )
165
165
->path ->toEqual ('/authorize ' )
166
166
->query
167
167
->toContain ('scope= ' . $ params ['scope ' ])
@@ -178,7 +178,7 @@ public function defer(
178
178
179
179
expect ($ url )
180
180
->scheme ->toEqual ('https ' )
181
- ->host ->toEqual ('__test_domain__ ' )
181
+ ->host ->toEqual ('domain.test ' )
182
182
->path ->toEqual ('/authorize ' )
183
183
->query
184
184
->toContain ('state= ' )
@@ -192,7 +192,7 @@ public function defer(
192
192
193
193
expect ($ url )
194
194
->scheme ->toEqual ('https ' )
195
- ->host ->toEqual ('__test_domain__ ' )
195
+ ->host ->toEqual ('domain.test ' )
196
196
->path ->toEqual ('/authorize ' )
197
197
->query
198
198
->toContain ('code_challenge= ' )
@@ -208,7 +208,7 @@ public function defer(
208
208
209
209
expect ($ url )
210
210
->scheme ->toEqual ('https ' )
211
- ->host ->toEqual ('__test_domain__ ' )
211
+ ->host ->toEqual ('domain.test ' )
212
212
->path ->toEqual ('/authorize ' )
213
213
->query
214
214
->toContain ('max_age=1000 ' );
@@ -225,7 +225,7 @@ public function defer(
225
225
226
226
expect ($ url )
227
227
->scheme ->toEqual ('https ' )
228
- ->host ->toEqual ('__test_domain__ ' )
228
+ ->host ->toEqual ('domain.test ' )
229
229
->path ->toEqual ('/authorize ' )
230
230
->query
231
231
->toContain ('max_age=1001 ' );
@@ -238,7 +238,7 @@ public function defer(
238
238
239
239
expect ($ url )
240
240
->scheme ->toEqual ('https ' )
241
- ->host ->toEqual ('__test_domain__ ' )
241
+ ->host ->toEqual ('domain.test ' )
242
242
->path ->toEqual ('/authorize ' )
243
243
->query
244
244
->toContain ('screen_hint=signup ' );
@@ -255,7 +255,7 @@ public function defer(
255
255
256
256
expect ($ url )
257
257
->scheme ->toEqual ('https ' )
258
- ->host ->toEqual ('__test_domain__ ' )
258
+ ->host ->toEqual ('domain.test ' )
259
259
->path ->toEqual ('/authorize ' )
260
260
->query
261
261
->toContain ('invitation=__test_invitation__ ' )
@@ -280,7 +280,7 @@ public function defer(
280
280
281
281
expect ($ url )
282
282
->scheme ->toEqual ('https ' )
283
- ->host ->toEqual ('__test_domain__ ' )
283
+ ->host ->toEqual ('domain.test ' )
284
284
->path ->toEqual ('/v2/logout ' )
285
285
->query
286
286
->toContain ('returnTo= ' . $ returnUrl )
@@ -684,7 +684,7 @@ public function defer(
684
684
expect ($ requestBody ['client_secret ' ])->toEqual ('__test_client_secret__ ' );
685
685
expect ($ requestBody ['client_id ' ])->toEqual ('__test_client_id__ ' );
686
686
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 ' );
688
688
});
689
689
690
690
test ('getCredentials() returns null when a session is not available ' , function (): void {
@@ -1002,7 +1002,7 @@ public function defer(
1002
1002
$ _GET [$ testParameterName ] = $ candidate ->token ;
1003
1003
1004
1004
$ auth0 = new \Auth0 \SDK \Auth0 (array_merge ($ this ->configuration , [
1005
- 'domain ' => '__bad_domain__ ' ,
1005
+ 'domain ' => 'domain.bad ' ,
1006
1006
'tokenJwksUri ' => $ candidate ->jwks ,
1007
1007
'tokenCache ' => $ candidate ->cached
1008
1008
]));
0 commit comments