Skip to content

Commit

Permalink
addActorPass: fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
Amarygdala committed Oct 28, 2022
1 parent b77a477 commit 3447b12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/ca/utoronto/utm/mcs/AppTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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<String> confirmRes = sendRequest("/api/v1/addActor", "PUT", confirmReq.toString());
sendRequest("/api/v1/deleteActor", "DELETE", confirmReq.toString());
assertEquals(HttpURLConnection.HTTP_OK, confirmRes.statusCode());
Expand Down

0 comments on commit 3447b12

Please sign in to comment.