This repository was archived by the owner on Aug 16, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +2
-27
lines changed
Expand file tree Collapse file tree 3 files changed +2
-27
lines changed Original file line number Diff line number Diff line change 3030 args : --timeout=10m
3131 skip-go-installation : true
3232 - name : test
33- run : go test ./... -v -race -coverprofile=coverage.txt -covermode=atomic
33+ run : go test ./... -v -race -coverprofile=coverage.txt -covermode=atomic -timeout 15m
3434 - name : Send coverage report
3535 uses : codecov/codecov-action@v2
3636 with :
Original file line number Diff line number Diff line change 88 "github.com/caos/oidc/pkg/op"
99)
1010
11- const ClientID = "01FH69GFQ4DFCXS5XD91JK4HZ1 "
11+ const ClientID = "reearth-authsrv-client-default "
1212
1313type Client struct {
1414 id string
Original file line number Diff line number Diff line change @@ -89,31 +89,6 @@ func TestBuilder_LangFrom(t *testing.T) {
8989 }
9090}
9191
92- func TestBuilder_PasswordReset (t * testing.T ) {
93- testCases := []struct {
94- Name , Token string
95- CreatedAt time.Time
96- Expected PasswordReset
97- }{
98- {
99- Name : "Test1" ,
100- Token : "xyz" ,
101- CreatedAt : time .Unix (0 , 0 ),
102- Expected : PasswordReset {
103- Token : "xyz" ,
104- CreatedAt : time .Unix (0 , 0 ),
105- },
106- },
107- }
108- for _ , tc := range testCases {
109- t .Run (tc .Name , func (tt * testing.T ) {
110- tt .Parallel ()
111- // u := New().NewID().PasswordReset(tc.Token, tc.CreatedAt).MustBuild()
112- // assert.Equal(t, tc.Expected, *u.passwordReset)
113- })
114- }
115- }
116-
11792func TestNew (t * testing.T ) {
11893 b := New ()
11994 assert .NotNil (t , b )
You can’t perform that action at this time.
0 commit comments