Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
… into generic-topleveldocument

Signed-off-by: BOUHOURS Antoine <[email protected]>
  • Loading branch information
antoinebhs committed Sep 24, 2024
2 parents fc6b55f + 6a31f41 commit 3198454
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@ public void testGetExtensionCache() throws IOException {

String extensionAttributes = objectMapper.writerFor(new TypeReference<Map<String, ExtensionAttributes>>() {
}).writeValueAsString(Map.of(identifiableId1, apc1, identifiableId2, apc2));
server.expect(ExpectedCount.once(), requestTo("/networks/" + networkUuid + "/" + Resource.INITIAL_VARIANT_NUM + "/identifiables/types/" + ResourceType.GENERATOR + "/extensions/activepowercontrol"))
² server.expect(ExpectedCount.once(), requestTo("/networks/" + networkUuid + "/" + Resource.INITIAL_VARIANT_NUM + "/identifiables/types/" + ResourceType.GENERATOR + "/extensions/activepowercontrol"))
.andExpect(method(GET))
.andRespond(withSuccess(extensionAttributes, MediaType.APPLICATION_JSON));

Expand Down

0 comments on commit 3198454

Please sign in to comment.