File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed
Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change 11{
22 "_comment" : " contains a list of frontend-driver interfaces branch names that this core supports" ,
33 "versions" : [
4- " 1.14" ,
54 " 1.15"
65 ]
76}
Original file line number Diff line number Diff line change @@ -57,6 +57,17 @@ func TestJWTShouldCreateRightAccessTokenPayloadWithClaims(t *testing.T) {
5757 if err != nil {
5858 t .Error (err .Error ())
5959 }
60+ querier , err := supertokens .GetNewQuerierInstanceOrThrowError ("" )
61+ if err != nil {
62+ t .Error (err .Error ())
63+ }
64+ cdiVersion , err := querier .GetQuerierAPIVersion ()
65+ if err != nil {
66+ t .Error (err .Error ())
67+ }
68+ if unittesting .MaxVersion ("2.8" , cdiVersion ) == "2.8" {
69+ return
70+ }
6071
6172 mux := http .NewServeMux ()
6273 var sessionContainer sessmodels.SessionContainer
@@ -112,6 +123,17 @@ func TestAssertClaimsWithPayloadWithJWTAndCallRightUpdateAccessTokenPayload(t *t
112123 if err != nil {
113124 t .Error (err .Error ())
114125 }
126+ querier , err := supertokens .GetNewQuerierInstanceOrThrowError ("" )
127+ if err != nil {
128+ t .Error (err .Error ())
129+ }
130+ cdiVersion , err := querier .GetQuerierAPIVersion ()
131+ if err != nil {
132+ t .Error (err .Error ())
133+ }
134+ if unittesting .MaxVersion ("2.8" , cdiVersion ) == "2.8" {
135+ return
136+ }
115137
116138 mux := http .NewServeMux ()
117139 var sessionContainer sessmodels.SessionContainer
You can’t perform that action at this time.
0 commit comments