mirror of
https://github.com/tailscale/tailscale.git
synced 2025-03-28 12:02:23 +00:00
tsweb: fix tests.
Signed-off-by: David Anderson <dave@natulte.net>
This commit is contained in:
parent
af3a9dfad6
commit
b446de103a
@ -241,7 +241,7 @@ func TestStdHandler(t *testing.T) {
|
||||
clock.Reset()
|
||||
|
||||
rec := noopHijacker{httptest.NewRecorder(), false}
|
||||
h := stdHandler(test.h, logf, clock.Now)
|
||||
h := stdHandler(test.h, logf, clock.Now, true)
|
||||
h.ServeHTTP(&rec, test.r)
|
||||
res := rec.Result()
|
||||
if res.StatusCode != test.wantCode {
|
||||
|
Loading…
x
Reference in New Issue
Block a user