From 3447b124fcefc29e96fb64313f8e9ff7a13f277e Mon Sep 17 00:00:00 2001 From: Raymond Weng Date: Fri, 28 Oct 2022 16:51:59 -0400 Subject: [PATCH] addActorPass: fix test case --- src/test/java/ca/utoronto/utm/mcs/AppTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/ca/utoronto/utm/mcs/AppTest.java b/src/test/java/ca/utoronto/utm/mcs/AppTest.java index 8b67b42..3fb50b7 100644 --- a/src/test/java/ca/utoronto/utm/mcs/AppTest.java +++ b/src/test/java/ca/utoronto/utm/mcs/AppTest.java @@ -40,7 +40,7 @@ public void exampleTest() { public void addActorPass() throws JSONException, IOException, InterruptedException { JSONObject confirmReq = new JSONObject() .put("name", "TestActor") - .put("actorId", ""); + .put("actorId", "123123"); HttpResponse confirmRes = sendRequest("/api/v1/addActor", "PUT", confirmReq.toString()); sendRequest("/api/v1/deleteActor", "DELETE", confirmReq.toString()); assertEquals(HttpURLConnection.HTTP_OK, confirmRes.statusCode());