DBZ-650 Fix the test breaking the build

This commit is contained in:
Jiri Pechanec 2018-06-04 14:48:00 +02:00 committed by Gunnar Morling
parent 525d073fea
commit aa5581b524

View File

@ -92,7 +92,7 @@ public void shouldCreateCorrectSchemaFromInsertJson() {
SchemaBuilder.struct().name("pub")
.field("address", SchemaBuilder.struct().name("pub.address")
.field("building", Schema.OPTIONAL_STRING_SCHEMA)
.field("floor", SchemaBuilder.struct().name("pub.address.floor").optional()
.field("floor", SchemaBuilder.struct().name("pub.address.floor")
.field("level", Schema.OPTIONAL_INT32_SCHEMA)
.field("description", Schema.OPTIONAL_STRING_SCHEMA)
.build()