File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/test/kotlin/examples/kotlin/ktor/resourceserver Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,8 @@ class OAuth2ResourceServerAppTest {
3636 this .application {
3737 module(authConfig)
3838 }
39- val response = client.get(" /hello1" ){
40- header(" Authorization" , " Bearer ${mockOAuth2Server.tokenFromProvider1()} " )
39+ val response = client.get(" /hello1" ) {
40+ header(" Authorization" , " Bearer ${mockOAuth2Server.tokenFromProvider1()} " )
4141 }
4242
4343 response.status shouldBe HttpStatusCode .OK
@@ -56,7 +56,7 @@ class OAuth2ResourceServerAppTest {
5656 module(authConfig)
5757 }
5858
59- val response = client.get(" /hello2" ){
59+ val response = client.get(" /hello2" ) {
6060 header(" Authorization" , " Bearer ${mockOAuth2Server.tokenFromProvider2()} " )
6161 }
6262 response.status shouldBe HttpStatusCode .OK
You can’t perform that action at this time.
0 commit comments