Skip to content

Commit

Permalink
BadRequest makes more sense than NotFound
Browse files Browse the repository at this point in the history
  • Loading branch information
siers committed Nov 12, 2024
1 parent 49488c9 commit 00e9c2a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 00e9c2a

Please sign in to comment.