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 30
30
args : --timeout=10m
31
31
skip-go-installation : true
32
32
- 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
34
34
- name : Send coverage report
35
35
uses : codecov/codecov-action@v2
36
36
with :
Original file line number Diff line number Diff line change 8
8
"github.com/caos/oidc/pkg/op"
9
9
)
10
10
11
- const ClientID = "01FH69GFQ4DFCXS5XD91JK4HZ1 "
11
+ const ClientID = "reearth-authsrv-client-default "
12
12
13
13
type Client struct {
14
14
id string
Original file line number Diff line number Diff line change @@ -89,31 +89,6 @@ func TestBuilder_LangFrom(t *testing.T) {
89
89
}
90
90
}
91
91
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
-
117
92
func TestNew (t * testing.T ) {
118
93
b := New ()
119
94
assert .NotNil (t , b )
You can’t perform that action at this time.
0 commit comments