Skip to content

Commit 2e40b6b

Browse files
committed
fix: rand
1 parent 2d0610b commit 2e40b6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

router/v3/router_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ func WithConfidential(confidential bool) OAuth2ClientOption {
420420
// CreateOAuth2Client OAuth2クライアントを必ず作成します
421421
func (env *Env) CreateOAuth2Client(t *testing.T, name string, creatorID uuid.UUID, opts ...OAuth2ClientOption) *model.OAuth2Client {
422422
t.Helper()
423-
if name == "rand" {
423+
if name == rand {
424424
name = random.AlphaNumeric(20)
425425
}
426426
client := &model.OAuth2Client{

0 commit comments

Comments
 (0)