diff --git a/server/zally-core/src/test/kotlin/org/zalando/zally/core/DefaultContextFactoryTest.kt b/server/zally-core/src/test/kotlin/org/zalando/zally/core/DefaultContextFactoryTest.kt index 071fc25f7..ba20f2f9c 100644 --- a/server/zally-core/src/test/kotlin/org/zalando/zally/core/DefaultContextFactoryTest.kt +++ b/server/zally-core/src/test/kotlin/org/zalando/zally/core/DefaultContextFactoryTest.kt @@ -30,7 +30,12 @@ class DefaultContextFactoryTest { openapi: {la: 3.0.0} """ val result = defaultContextFactory.parseOpenApiContext(content) - assertThat(result).resultsInParsedWithErrors() + assertThat(result).resultsInErrors( + Violation( + description = "attribute openapi is not of type `string`", + pointer = JsonPointer.empty() + ) + ) } @Test