Skip to content

Commit

Permalink
[RESTEASY-2913] Remove JacksonDataTypeTest#testDatatypeNotSupportedDu…
Browse files Browse the repository at this point in the history
…ration

This test doesn't make sense anymore since it tested scenario that
wasn't valid and is fixed in recent versions of RestEasy.
  • Loading branch information
jstourac committed Jun 1, 2021
1 parent b8c779e commit 5b08ca8
Showing 1 changed file with 0 additions and 10 deletions.
Expand Up @@ -108,16 +108,6 @@ public void testDatatypeNotSupportedDate() throws Exception {
Assert.assertThat("Wrong conversion of Date", strResponse.matches("^[0-9]*$"), is(true));
}

/**
* @tpTestDetails Check duration type without datatype supported
* @tpSince RESTEasy 3.1.0.CR3
*/
@Test
public void testDatatypeNotSupportedDuration() throws Exception {
String strResponse = requestHelper("duration", DEFAULT_DEPLOYMENT);
Assert.assertThat("Wrong conversion of Duration", strResponse, not(containsString("PT5.000000006S")));
}

/**
* @tpTestDetails Check null optional type without datatype supported
* @tpSince RESTEasy 3.1.0.CR3
Expand Down

0 comments on commit 5b08ca8

Please sign in to comment.