mirror of
https://github.com/lukaszraczylo/traefikoidc.git
synced 2026-10-14 04:07:46 +00:00
Fix the tests hanging on the open channel.
This commit is contained in:
+2
-1
@@ -95,8 +95,9 @@ func (ts *TestSuite) Setup() {
|
||||
httpClient: &http.Client{},
|
||||
exchangeCodeForTokenFunc: ts.exchangeCodeForTokenFunc,
|
||||
extractClaimsFunc: extractClaims,
|
||||
initComplete: make(chan struct{}),
|
||||
}
|
||||
|
||||
close(ts.tOidc.initComplete)
|
||||
ts.tOidc.tokenVerifier = ts.tOidc
|
||||
ts.tOidc.jwtVerifier = ts.tOidc
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user