File tree 1 file changed +3
-0
lines changed
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import (
10
10
"testing"
11
11
12
12
"github.com/golang-jwt/jwt/v4"
13
+ "github.com/google/uuid"
13
14
"github.com/imulab/go-scim/pkg/v2/handlerutil"
14
15
"github.com/imulab/go-scim/pkg/v2/spec"
15
16
"github.com/stretchr/testify/assert"
@@ -568,6 +569,7 @@ func TestScim(t *testing.T) {
568
569
//nolint:bodyclose
569
570
scimUserClient , _ := fake .Login (t , client , jwt.MapClaims {
570
571
"email" : sUser .Emails [0 ].Value ,
572
+ "sub" : uuid .NewString (),
571
573
})
572
574
scimUser , err = scimUserClient .User (ctx , codersdk .Me )
573
575
require .NoError (t , err )
@@ -836,6 +838,7 @@ func TestScim(t *testing.T) {
836
838
//nolint:bodyclose
837
839
scimUserClient , _ := fake .Login (t , client , jwt.MapClaims {
838
840
"email" : sUser .Emails [0 ].Value ,
841
+ "sub" : uuid .NewString (),
839
842
})
840
843
scimUser , err = scimUserClient .User (ctx , codersdk .Me )
841
844
require .NoError (t , err )
You can’t perform that action at this time.
0 commit comments