@@ -118,7 +118,7 @@ public function testLoaderThrowsExceptionWhenProviderReturns400ResponseCodeAsser
118
118
119
119
$ context = $ exception ->context ();
120
120
$ this ->assertSame ("https://provider.rdobeheer.nl " , $ context ['issuer ' ]);
121
- $ this ->assertSame ("https://provider.rdobeheer.nl /.well-known/openid-configuration " , $ context ['url ' ]);
121
+ $ this ->assertSame ("/.well-known/openid-configuration " , $ context ['url ' ]);
122
122
$ this ->assertSame (400 , $ context ['response_status_code ' ]);
123
123
}
124
124
}
@@ -137,7 +137,7 @@ public function testLoaderThrowsExceptionWhenProviderReturns500ResponseCodeAsser
137
137
138
138
$ context = $ exception ->context ();
139
139
$ this ->assertSame ("https://provider.rdobeheer.nl " , $ context ['issuer ' ]);
140
- $ this ->assertSame ("https://provider.rdobeheer.nl /.well-known/openid-configuration " , $ context ['url ' ]);
140
+ $ this ->assertSame ("/.well-known/openid-configuration " , $ context ['url ' ]);
141
141
$ this ->assertSame (500 , $ context ['response_status_code ' ]);
142
142
}
143
143
}
@@ -156,7 +156,7 @@ public function testLoaderThrowsExceptionWhenProviderReturns200ButNullResponse()
156
156
157
157
$ context = $ exception ->context ();
158
158
$ this ->assertSame ("https://provider.rdobeheer.nl " , $ context ['issuer ' ]);
159
- $ this ->assertSame ("https://provider.rdobeheer.nl /.well-known/openid-configuration " , $ context ['url ' ]);
159
+ $ this ->assertSame ("/.well-known/openid-configuration " , $ context ['url ' ]);
160
160
$ this ->assertSame (200 , $ context ['response_status_code ' ]);
161
161
$ this ->assertSame ('' , $ context ['response_body ' ]);
162
162
}
@@ -176,7 +176,7 @@ public function testLoaderThrowsExceptionWhenProviderReturns200ButStringResponse
176
176
177
177
$ context = $ exception ->context ();
178
178
$ this ->assertSame ("https://provider.rdobeheer.nl " , $ context ['issuer ' ]);
179
- $ this ->assertSame ("https://provider.rdobeheer.nl /.well-known/openid-configuration " , $ context ['url ' ]);
179
+ $ this ->assertSame ("/.well-known/openid-configuration " , $ context ['url ' ]);
180
180
$ this ->assertSame (200 , $ context ['response_status_code ' ]);
181
181
$ this ->assertSame ('some invalid response ' , $ context ['response_body ' ]);
182
182
}
0 commit comments