diff --git a/tests/http-api.spec.ts b/tests/http-api.spec.ts index 6f1f4fb..ee906a2 100644 --- a/tests/http-api.spec.ts +++ b/tests/http-api.spec.ts @@ -582,7 +582,7 @@ describe('http api', function () { expect(response.status).to.equal(400); const responseBody = await response.json() as DwnError; - expect(responseBody.code).to.equal(DwnErrorCode.SchemaValidationFailure); + expect(responseBody.code).to.equal(DwnErrorCode.SchemaValidatorAdditionalPropertyNotAllowed); }); });