Skip to content

Commit 519228d

Browse files
committed
Add test to make sure verify does not always call core
1 parent d13783b commit 519228d

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

recipe/session/recipe.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,5 +225,4 @@ func (r *Recipe) getClaimValidatorsAddedByOtherRecipes() []claims.SessionClaimVa
225225

226226
func ResetForTest() {
227227
singletonInstance = nil
228-
didGetSessionCallCore = false
229228
}

recipe/session/testingUtils.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ var didGetSessionCallCore = false
2828
func resetAll() {
2929
supertokens.ResetForTest()
3030
ResetForTest()
31+
didGetSessionCallCore = false
3132
}
3233

3334
func BeforeEach() {

0 commit comments

Comments
 (0)