File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
src/test/kotlin/no/nav/security/mock/oauth2/introspect Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -82,11 +82,12 @@ internal class IntrospectTest {
8282 private inline fun <reified T > OAuth2HttpResponse.parse (): T = jacksonObjectMapper().readValue(checkNotNull(body))
8383
8484 private fun request (url : String , bearerToken : String? , auth : String = "Basic user=password"): OAuth2HttpRequest {
85- return OAuth2HttpRequest (Headers .headersOf(
86- " Authorization" , auth,
87- " Accept" , " application/json" ,
88- " Content-Type" , " application/x-www-form-urlencoded"
89- ),
85+ return OAuth2HttpRequest (
86+ Headers .headersOf(
87+ " Authorization" , auth,
88+ " Accept" , " application/json" ,
89+ " Content-Type" , " application/x-www-form-urlencoded"
90+ ),
9091 method = " POST" ,
9192 url.toHttpUrl(),
9293 body = bearerToken?.let { " token=$it &token_type_hint=access_token" }
You can’t perform that action at this time.
0 commit comments