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 {
36
36
this .application {
37
37
module(authConfig)
38
38
}
39
- val response = client.get(" /hello1" ){
40
- header(" Authorization" , " Bearer ${mockOAuth2Server.tokenFromProvider1()} " )
39
+ val response = client.get(" /hello1" ) {
40
+ header(" Authorization" , " Bearer ${mockOAuth2Server.tokenFromProvider1()} " )
41
41
}
42
42
43
43
response.status shouldBe HttpStatusCode .OK
@@ -56,7 +56,7 @@ class OAuth2ResourceServerAppTest {
56
56
module(authConfig)
57
57
}
58
58
59
- val response = client.get(" /hello2" ){
59
+ val response = client.get(" /hello2" ) {
60
60
header(" Authorization" , " Bearer ${mockOAuth2Server.tokenFromProvider2()} " )
61
61
}
62
62
response.status shouldBe HttpStatusCode .OK
You can’t perform that action at this time.
0 commit comments