diff options
author | liamfallon <liam.fallon@est.tech> | 2023-03-14 17:20:20 +0000 |
---|---|---|
committer | liamfallon <liam.fallon@est.tech> | 2023-03-14 17:22:51 +0000 |
commit | e740b7c33217f8564849c523a3607c53bab6e3a8 (patch) | |
tree | d531e86a318c087d150fa947c077f12a7dbfd5f0 /plugins/plugins-context/plugins-context-schema/plugins-context-schema-avro/src/test | |
parent | 91ef7bf5e5e5d0d7e9555994a21de1c79fdccc13 (diff) |
Update for SNI Chcecking
SNI checking is now supported in Jersey
Issue-ID: POLICY-4474
Change-Id: I6afc2d577493485f151887180ef152303c456f3a
Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'plugins/plugins-context/plugins-context-schema/plugins-context-schema-avro/src/test')
-rw-r--r-- | plugins/plugins-context/plugins-context-schema/plugins-context-schema-avro/src/test/java/org/onap/policy/apex/plugins/context/schema/avro/AvroSchemaRecordTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/plugins-context/plugins-context-schema/plugins-context-schema-avro/src/test/java/org/onap/policy/apex/plugins/context/schema/avro/AvroSchemaRecordTest.java b/plugins/plugins-context/plugins-context-schema/plugins-context-schema-avro/src/test/java/org/onap/policy/apex/plugins/context/schema/avro/AvroSchemaRecordTest.java index 2977059c6..3a81584f0 100644 --- a/plugins/plugins-context/plugins-context-schema/plugins-context-schema-avro/src/test/java/org/onap/policy/apex/plugins/context/schema/avro/AvroSchemaRecordTest.java +++ b/plugins/plugins-context/plugins-context-schema/plugins-context-schema-avro/src/test/java/org/onap/policy/apex/plugins/context/schema/avro/AvroSchemaRecordTest.java @@ -147,7 +147,7 @@ public class AvroSchemaRecordTest { assertThatThrownBy(() -> subRecord0.get("address")).hasMessage("Not a valid schema field: address"); final GenericRecord subRecord1 = (GenericRecord) schemaHelper.createNewSubInstance("EmailAddress"); - assertThatThrownBy(() -> subRecord0.get("address")).hasMessage("Not a valid schema field: address"); + assertThatThrownBy(() -> subRecord1.get("EmailAddress")).hasMessage("Not a valid schema field: EmailAddress"); assertThatThrownBy(() -> schemaHelper.createNewSubInstance("IDontExist")) .hasMessage("AvroTest:0.0.1: the schema \"User\" does not have a subtype of type \"IDontExist\""); |