diff --git a/integration/src/test/scala/org/knora/webapi/it/v2/KnoraSipiIntegrationV2ITSpec.scala b/integration/src/test/scala/org/knora/webapi/it/v2/KnoraSipiIntegrationV2ITSpec.scala index 9a6e1e8181..fa91e017e1 100644 --- a/integration/src/test/scala/org/knora/webapi/it/v2/KnoraSipiIntegrationV2ITSpec.scala +++ b/integration/src/test/scala/org/knora/webapi/it/v2/KnoraSipiIntegrationV2ITSpec.scala @@ -734,7 +734,7 @@ class KnoraSipiIntegrationV2ITSpec val request = Post(s"$baseApiUrl/v2/resources", jsonLdHttpEntity(jsonLdEntity)) ~> addAuthorization val response = singleAwaitingRequest(request) - assert(response.status == StatusCodes.NotFound) + assert(response.status == StatusCodes.BadRequest) } "create a resource of type ArchiveRepresentation with a Zip file" in {