Skip to content

Commit a31a931

Browse files
committed
Fix test to not run for older cdi versions
1 parent 91cfb1c commit a31a931

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

recipe/session/session_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1890,7 +1890,8 @@ func TestSessionVerificationOfJWTBasedOnSessionPayloadWithCheckDatabase(t *testi
18901890
t.Fail()
18911891
}
18921892

1893-
if supertokens.MaxVersion(cdiVersion, "2.21") != cdiVersion {
1893+
// Only run test for cdi > 2.21 (not greater than equal to)
1894+
if supertokens.MaxVersion(cdiVersion, "2.21") == "2.21" {
18941895
t.Skip()
18951896
}
18961897

0 commit comments

Comments
 (0)