Skip to content

Commit

Permalink
Adjust test to current exception msg behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
Philzen committed May 31, 2024
1 parent addaa07 commit abce5bc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ public void testDefaultValuesSerializationWithIncorrectDefaultValues() throws IO
} catch ( final com.fasterxml.jackson.databind.exc.ValueInstantiationException e ) {
Assertions.assertEquals( e.getMessage(),
"Cannot construct instance of `org.openapitools.client.model.DefaultValue$ArrayStringEnumDefaultEnum`, problem: Unexpected value 'invalid'\n" +
" at [Source: (String)\"{ \"array_string_enum_default\": [\"invalid\"] }\"; line: 1, column: 33] (through reference chain: org.openapitools.client.model.DefaultValue[\"array_string_enum_default\"]->java.util.ArrayList[0])" );
" at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 33] (through reference chain: org.openapitools.client.model.DefaultValue[\"array_string_enum_default\"]->java.util.ArrayList[0])" );
}
}

Expand Down

0 comments on commit abce5bc

Please sign in to comment.