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

Unified Diff: appengine/cmd/dm/mutate/ensure_quest_attempts_test.go

Issue 1537883002: Initial distributor implementation (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: self review Created 4 years, 6 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: appengine/cmd/dm/mutate/ensure_quest_attempts_test.go
diff --git a/appengine/cmd/dm/mutate/ensure_quest_attempts_test.go b/appengine/cmd/dm/mutate/ensure_quest_attempts_test.go
index ffe5f60233e918ff3a0929423f7d2133798c744d..87eb7edbcffcca07a40fbcb2b231ef1e6e6ab763 100644
--- a/appengine/cmd/dm/mutate/ensure_quest_attempts_test.go
+++ b/appengine/cmd/dm/mutate/ensure_quest_attempts_test.go
@@ -23,9 +23,9 @@ func TestEnsureQuestAttempts(t *testing.T) {
c := ttest.Context()
ds := datastore.Get(c)
- desc := dm.NewQuestDesc("distributor", `{"data":"yes"}`)
- qst, err := model.NewQuest(c, desc)
- So(err, ShouldBeNil)
+ desc := dm.NewQuestDesc("distributor", `{"data":"yes"}`, nil)
+ So(desc.Normalize(), ShouldBeNil)
+ qst := model.NewQuest(c, desc)
eqa := EnsureQuestAttempts{qst, []uint32{1, 2, 3, 4}, false}

Powered by Google App Engine
This is Rietveld 408576698