Skip to content

Commit 485887c

Browse files
Merge pull request #292 from supertokens/test-fixes
Fix tests
2 parents d88d866 + 1b20e3f commit 485887c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

recipe/session/testingUtils.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ func resetAll() {
3030
ResetForTest()
3131
didGetSessionCallCore = false
3232
for _, jwks := range jwksResults {
33-
jwks.JWKS.EndBackground()
33+
if jwks.JWKS != nil {
34+
jwks.JWKS.EndBackground()
35+
}
3436
}
3537
}
3638

0 commit comments

Comments
 (0)