Skip to content

Commit

Permalink
Fix remaining test
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Jun 17, 2024
1 parent 7eff8e0 commit b98a05f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,9 @@ public void testIdWithJaxbRules() throws Exception
.build();
List<User> users = getUserList();
final String json = mapper.writeValueAsString(users);
String expected = "[{\"id\":11,\"username\":\"11\",\"email\":\"[email protected]\",\"department\":9}"
+",{\"id\":22,\"username\":\"22\",\"email\":\"[email protected]\",\"department\":9}"
+",{\"id\":33,\"username\":\"33\",\"email\":\"[email protected]\",\"department\":null}]";
String expected = a2q("[{'id':11,'department':9,'email':'[email protected]','username':'11'}"
+",{'id':22,'department':9,'email':'[email protected]','username':'22'}"
+",{'id':33,'department':null,'email':'[email protected]','username':'33'}]");

assertEquals(expected, json);

Expand Down

0 comments on commit b98a05f

Please sign in to comment.