Skip to content

Commit

Permalink
[RESTEASY-1665]:export jsonb api to respect JsonB customizing mapping…
Browse files Browse the repository at this point in the history
… annotation
  • Loading branch information
jimma authored and asoldano committed Aug 31, 2017
1 parent 03ecb3e commit 1184587
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

<dependencies>
<module name="org.glassfish.javax.json"/>
<module name="javax.json.bind.api"/>
<module name="javax.json.bind.api" export="true"/>
<module name="org.eclipse.yasson"/>
<module name="javax.api"/>
<module name="javax.annotation.api"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,6 @@ public void doTestCat() throws Exception {
logger.info("Request entity: " + entity);
Assert.assertTrue("Failed to return the correct name", "Alfred".equals(json.getName()));
String jsonbResponse = target.request().post(entity).readEntity(String.class);
Assert.assertEquals("JsonBindingProvider is not enabled", "{\"color\":\"ginger\",\"domesticated\":true,\"name\":\"Alfred\",\"sort\":\"semi-british\"}", jsonbResponse);
Assert.assertEquals("JsonBindingProvider is not enabled", "{\"color\":\"ginger\",\"sort\":\"semi-british\",\"name\":\"Alfred\",\"domesticated\":true}", jsonbResponse);
}
}

0 comments on commit 1184587

Please sign in to comment.