diff --git a/store/file/file_test.go b/store/file/file_test.go index 0f890c0..cda5992 100644 --- a/store/file/file_test.go +++ b/store/file/file_test.go @@ -127,13 +127,13 @@ func (t *testSuite) TestUpdateQuiz() { }, }) - t.Nil(err, "The quiz to update should be created without issue") + t.Nil(err, "The quiz to be updated should be created without issue") if !t.Failed() { _, err = store.UpdateQuiz( &client.CreateUpdateQuizRequest{ Quiz: &client.Quiz{ - Question: &client.Question{Text: "Newly created question text."}, + Question: &client.Question{Text: "Updated question text."}, Answers: []*client.Answer{ {Text: "Answer 1", Correct: true}, {Text: "Answer 2", Correct: false}, @@ -144,6 +144,7 @@ func (t *testSuite) TestUpdateQuiz() { }, quiz.ID) } } + } func createQuizOnDisk(store *FileProboCollectorStore, req *client.CreateUpdateQuizRequest) (*models.Quiz, error) {