fix search intergration tests

This commit is contained in:
restrry 2021-05-18 15:49:00 +02:00
parent 39c5e1cb5c
commit 7d6ad5cf25

View file

@ -16,7 +16,7 @@ export const verifyErrorResponse = (
) => {
expect(r.statusCode).to.be(expectedCode);
if (message) {
expect(r.message).to.be(message);
expect(r.message).to.include.string(message);
}
if (shouldHaveAttrs) {
expect(r).to.have.property('attributes');