Skip to content

Commit

Permalink
fix: campaign controller test
Browse files Browse the repository at this point in the history
  • Loading branch information
BettyB979 committed Nov 22, 2023
1 parent 82070e6 commit 530374a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,9 @@ private String createJsonPart(Partitioning part) {
JSONObject jo = new JSONObject();
jo.put("id", part.getId());
jo.put("campaignId", part.getCampaign().getId());
jo.put("openingDate", part.getOpeningDate().toInstant());
jo.put("closingDate", part.getClosingDate().toInstant());
jo.put("returnDate", part.getClosingDate().toInstant());
jo.put("openingDate", part.getOpeningDate().toInstant().toString());
jo.put("closingDate", part.getClosingDate().toInstant().toString());
jo.put("returnDate", part.getClosingDate().toInstant().toString());
jo.put("label", "label");
return jo.toString();
}
Expand Down

0 comments on commit 530374a

Please sign in to comment.