Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sdhzwc committed Nov 4, 2024
1 parent 68004bb commit f40b748
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ public void testQueryPluginDetailById() {
String pluginParams = data.getPluginParams();
ArrayNode arrayNode = JSONUtils.parseArray(pluginParams);
String placeholder = arrayNode.path(0).path("props").path("placeholder").asText();
Assertions.assertEquals(2, JSONUtils.toMap(placeholder).size());
Map<String, String> placeholderMap = JSONUtils.toMap(placeholder);
Assertions.assertEquals("请输入收件人", placeholderMap.get("zhMsg"));
Assertions.assertEquals("pleaseinputreceivers", placeholderMap.get("enMsg"));
}

}

0 comments on commit f40b748

Please sign in to comment.