diff --git a/frontend/src/pages/TransactionLink.spec.js b/frontend/src/pages/TransactionLink.spec.js index adbb25226..349c6c36d 100644 --- a/frontend/src/pages/TransactionLink.spec.js +++ b/frontend/src/pages/TransactionLink.spec.js @@ -374,12 +374,12 @@ describe('TransactionLink', () => { describe('error on transaction link query', () => { beforeEach(() => { - apolloQueryMock.mockRejectedValue({ message: 'Ouchh!' }) + apolloQueryMock.mockRejectedValue({ message: 'gdd_per_link.redeemlink-error' }) wrapper = Wrapper() }) it('toasts an error message', () => { - expect(toastErrorSpy).toBeCalledWith('Ouchh!') + expect(toastErrorSpy).toBeCalledWith('gdd_per_link.redeemlink-error') }) }) })