Skip to content

Commit

Permalink
PR feedback: Update test assertions 404 copy
Browse files Browse the repository at this point in the history
  • Loading branch information
Constance committed Aug 24, 2020
1 parent ed83457 commit d6263cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ describe('engine routes', () => {
).andReturnError();
});

it('should return 404 with a message', async () => {
it('should return 502 with a message', async () => {
await mockRouter.callRoute(mockRequest);

expect(mockRouter.response.customError).toHaveBeenCalledWith({
Expand All @@ -88,7 +88,7 @@ describe('engine routes', () => {
).andReturnInvalidData();
});

it('should return 404 with a message', async () => {
it('should return 502 with a message', async () => {
await mockRouter.callRoute(mockRequest);

expect(mockRouter.response.customError).toHaveBeenCalledWith({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ describe('engine routes', () => {
}).andReturnError();
});

it('should return 404 with a message', async () => {
it('should return 502 with a message', async () => {
await mockRouter.callRoute(mockRequest);

expect(mockRouter.response.customError).toHaveBeenCalledWith({
Expand All @@ -82,7 +82,7 @@ describe('engine routes', () => {
}).andReturnInvalidData();
});

it('should return 404 with a message', async () => {
it('should return 502 with a message', async () => {
await mockRouter.callRoute(mockRequest);

expect(mockRouter.response.customError).toHaveBeenCalledWith({
Expand Down

0 comments on commit d6263cb

Please sign in to comment.