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\":\"11@test.com\",\"department\":9}"
+",{\"id\":22,\"username\":\"22\",\"email\":\"22@test.com\",\"department\":9}"
+",{\"id\":33,\"username\":\"33\",\"email\":\"33@test.com\",\"department\":null}]";
String expected = a2q("[{'id':11,'department':9,'email':'11@test.com','username':'11'}"
+",{'id':22,'department':9,'email':'22@test.com','username':'22'}"
+",{'id':33,'department':null,'email':'33@test.com','username':'33'}]");

assertEquals(expected, json);

Expand Down

0 comments on commit b98a05f

Please sign in to comment.