🚨 Removed linter warnings for token and login domains
This commit is contained in:
parent
78a7abf1fb
commit
7b9a687c9c
|
@ -18,6 +18,7 @@ type Login struct {
|
|||
State string
|
||||
}
|
||||
|
||||
//nolint: gomnd
|
||||
func TestLogin(tb testing.TB) *Login {
|
||||
tb.Helper()
|
||||
|
||||
|
@ -34,6 +35,7 @@ func TestLogin(tb testing.TB) *Login {
|
|||
}
|
||||
}
|
||||
|
||||
//nolint: gomnd
|
||||
func TestLoginInvalid(tb testing.TB) *Login {
|
||||
tb.Helper()
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ func NewToken() *Token {
|
|||
return t
|
||||
}
|
||||
|
||||
//nolint: gomnd
|
||||
func TestToken(tb testing.TB) *Token {
|
||||
tb.Helper()
|
||||
|
||||
|
|
Loading…
Reference in New Issue