Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Unified Diff: milo/appengine/buildbot/build_test.go

Issue 2748073006: Milo Refactor: Remove theme support (Closed)
Patch Set: Fix builder.html pointer Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: milo/appengine/buildbot/build_test.go
diff --git a/milo/appengine/buildbot/build_test.go b/milo/appengine/buildbot/build_test.go
index 5540c605c3aff4302ca0b0423b199c717edb8036..b5db334148d20599bc07f2119a21dbb3a17347c9 100644
--- a/milo/appengine/buildbot/build_test.go
+++ b/milo/appengine/buildbot/build_test.go
@@ -18,7 +18,6 @@ import (
"github.com/luci/luci-go/common/clock/testclock"
memcfg "github.com/luci/luci-go/common/config/impl/memory"
"github.com/luci/luci-go/luci_config/server/cfgclient/backend/testconfig"
- "github.com/luci/luci-go/milo/common/miloerror"
"github.com/luci/luci-go/server/auth"
"github.com/luci/luci-go/server/auth/authtest"
"github.com/luci/luci-go/server/auth/identity"
@@ -94,10 +93,7 @@ func TestBuild(t *testing.T) {
Internal: true,
})
_, err := getBuild(c, "fake", "fake", 1)
- So(err, ShouldResemble, miloerror.Error{
- Message: "You are not authenticated, try logging in",
- Code: 401,
- })
+ So(err, ShouldResemble, errNotAuth)
})
})
}

Powered by Google App Engine
This is Rietveld 408576698