Skip to content

Commit a4794ea

Browse files
committed
initial commit - Update mock error on negative case order request
1 parent c3d0951 commit a4794ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ammana_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ func TestAmmanaGetOrderURL(t *testing.T) {
177177

178178
w.Header().Set("Content-Type", "application-json; charset=utf-8")
179179
w.WriteHeader(http.StatusOK)
180-
w.Write([]byte(`{"message":"error""`))
180+
w.Write([]byte(`{"message":"invalid parameter on order request"}`))
181181

182182
}))
183183
//close server

0 commit comments

Comments
 (0)