Skip to content

Commit

Permalink
update ut
Browse files Browse the repository at this point in the history
  • Loading branch information
branshchen committed Dec 27, 2024
1 parent be0c612 commit 8441c5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci_metainsight_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
func TestCIService_CreateDataset(t *testing.T) {
setup()
defer teardown()
wantBody := "{\"DatasetName\":\"adataset\",\"Description\":\"dataset test\",\"TemplateId\":\"Official:COSBasicMeta\"}"
wantBody := "{\"DatasetName\":\"adataset\",\"Description\":\"dataset test\",\"TemplateId\":\"Official:COSBasicMeta\",\"Version\":\"\",\"Volume\":0,\"TrainingMode\":0,\"TrainingDataset\":\"\",\"TrainingURI\":\"\"}"

mux.HandleFunc("/dataset", func(w http.ResponseWriter, r *http.Request) {
testMethod(t, r, http.MethodPost)
Expand Down

0 comments on commit 8441c5c

Please sign in to comment.