diff options
Diffstat (limited to 'dashboard/app/app_test.go')
| -rw-r--r-- | dashboard/app/app_test.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/dashboard/app/app_test.go b/dashboard/app/app_test.go index 9030c0e64..6ece0cee5 100644 --- a/dashboard/app/app_test.go +++ b/dashboard/app/app_test.go @@ -1,8 +1,6 @@ // Copyright 2017 syzkaller project authors. All rights reserved. // Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. -// +build aetest - package main import ( @@ -18,6 +16,9 @@ import ( ) func init() { + isBrokenAuthDomainInTest = true + obsoleteWhatWontBeFixBisected = true + notifyAboutUnsuccessfulBisections = true initMocks() installConfig(testConfig) } @@ -388,7 +389,7 @@ func checkLoginRedirect(c *Ctx, accessLevel AccessLevel, url string) { func checkRedirect(c *Ctx, accessLevel AccessLevel, from, to string, status int) { _, err := c.httpRequest("GET", from, "", accessLevel) c.expectNE(err, nil) - httpErr, ok := err.(HttpError) + httpErr, ok := err.(HTTPError) c.expectTrue(ok) c.expectEQ(httpErr.Code, status) c.expectEQ(httpErr.Headers["Location"], []string{to}) |
