Index: appengine/cmd/dm/mutate/merge_quest_test.go |
diff --git a/appengine/cmd/dm/mutate/merge_quest_test.go b/appengine/cmd/dm/mutate/merge_quest_test.go |
index db340a180c7b8c6f1691f40ae3f395e1ee7f1b62..2faa63fb0a3bb6afbb89162c27144621b4fd9505 100644 |
--- a/appengine/cmd/dm/mutate/merge_quest_test.go |
+++ b/appengine/cmd/dm/mutate/merge_quest_test.go |
@@ -24,12 +24,12 @@ func TestMergeQuest(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) |
qst.BuiltBy = append(qst.BuiltBy, *dm.NewTemplateSpec("a", "b", "c", "d")) |
- mq := &MergeQuest{qst} |
+ mq := &MergeQuest{qst, nil} |
Convey("root", func() { |
So(mq.Root(c), ShouldResemble, ds.MakeKey("Quest", qst.ID)) |