Skip to content

Commit

Permalink
updated jwt library in existing testcase: subject_text.go
Browse files Browse the repository at this point in the history
  • Loading branch information
himanshu-allen committed Oct 15, 2024
1 parent 380b101 commit c8d67d3
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ require (
github.com/davecgh/go-spew v1.1.1
github.com/dchest/uniuri v1.2.0
github.com/evalphobia/logrus_sentry v0.8.2
github.com/form3tech-oss/jwt-go v3.2.5+incompatible
github.com/getsentry/raven-go v0.2.0
github.com/go-openapi/analysis v0.21.4 // indirect
github.com/go-openapi/errors v0.20.3
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,6 @@ github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7
github.com/evalphobia/logrus_sentry v0.8.2 h1:dotxHq+YLZsT1Bb45bB5UQbfCh3gM/nFFetyN46VoDQ=
github.com/evalphobia/logrus_sentry v0.8.2/go.mod h1:pKcp+vriitUqu9KiWj/VRFbRfFNUwz95/UkgG8a6MNc=
github.com/flynn/go-docopt v0.0.0-20140912013429-f6dd2ebbb31e/go.mod h1:HyVoz1Mz5Co8TFO8EupIdlcpwShBmY98dkT2xeHkvEI=
github.com/form3tech-oss/jwt-go v3.2.5+incompatible h1:/l4kBbb4/vGSsdtB5nUe8L7B9mImVMaBPw9L/0TBHU8=
github.com/form3tech-oss/jwt-go v3.2.5+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k=
github.com/fortytw2/leaktest v1.3.0 h1:u8491cBMTQ8ft8aeV+adlcytMZylmA5nnwwkRZjI8vw=
github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g=
github.com/frankban/quicktest v1.14.3 h1:FJKSZTDHjyhriyC81FLQ0LY93eSai0ZyR/ZIkd3ZUKE=
Expand Down
2 changes: 1 addition & 1 deletion pkg/handler/subject_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net/http"
"testing"

jwt "github.com/form3tech-oss/jwt-go"
"github.com/golang-jwt/jwt/v5"
"github.com/openflagr/flagr/pkg/config"
"github.com/stretchr/testify/assert"
)
Expand Down

0 comments on commit c8d67d3

Please sign in to comment.