Skip to content

Commit 06694de

Browse files
committed
fix failing test
1 parent 24638e3 commit 06694de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hashbot/token_validator_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func TestRunTokenValidator(t *testing.T) {
7070
return false, nil
7171
}
7272

73-
hashbot.RunTokenValidator(ctx, tt.cfg, invalidateCh, make(chan bool), refreshFunc, validateToken)
73+
hashbot.RunTokenValidator(ctx, tt.cfg, invalidateCh, refreshFunc, validateToken)
7474
if tt.cancelCtx {
7575
timeout, cancelTimeout := context.WithTimeout(context.Background(), time.Second/10)
7676
defer cancelTimeout()
@@ -106,7 +106,7 @@ func TestTokenValidator_Concurrency(t *testing.T) {
106106
return false, nil
107107
}
108108

109-
hashbot.RunTokenValidator(ctx, &testToken{}, invalidateCh, make(chan bool), refreshFunc, validateToken)
109+
hashbot.RunTokenValidator(ctx, &testToken{}, invalidateCh, refreshFunc, validateToken)
110110

111111
var wg sync.WaitGroup
112112
numGoroutines := 10

0 commit comments

Comments
 (0)