Skip to content

Commit 3128c54

Browse files
committed
Change back to 422 expectation
1 parent cf0ff9b commit 3128c54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/data/journey.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ describe('data', () => {
7575
.do()
7676
.catch((e: Error) => {
7777
expect(e.message).toEqual(
78-
`The request to Weaviate failed with status code: 500 and message: {"error":[{"message":"invalid text property 'stringProp' on class 'DataJourneyTestThing': not a string, but json.Number"}]}`
78+
`The request to Weaviate failed with status code: 422 and message: {"error":[{"message":"invalid object: invalid text property 'stringProp' on class 'DataJourneyTestThing': not a string, but json.Number"}]}`
7979
);
8080
});
8181
});

0 commit comments

Comments
 (0)