Skip to content

Commit

Permalink
fix(GeoCommuneClientTest) mock json did not fit expected json
Browse files Browse the repository at this point in the history
  • Loading branch information
FBibonne committed Aug 14, 2024
1 parent b9d0cd2 commit 603afd4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ void test() throws InterruptedException {
private void enqueueServerResponse() {
var response = new MockResponse();
response.setHeader("content-type", "application/json");
response.setBody("{\"code\":\"33529\", \"intitule\":\"La Teste\"}");
response.setBody("""
{"code":"33529", "intitule":"La Teste", "territoireType": "Commune"}""");
response.setResponseCode(200);
server.enqueue(response);
}
Expand Down

0 comments on commit 603afd4

Please sign in to comment.