From 275992b5606a26be2830eaca66337db4ae894c27 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Thu, 7 Oct 2021 09:49:37 +0200 Subject: [PATCH] fixed coinanimation tests --- .../Pages/UserProfile/UserCard_CoinAnimation.spec.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/views/Pages/UserProfile/UserCard_CoinAnimation.spec.js b/frontend/src/views/Pages/UserProfile/UserCard_CoinAnimation.spec.js index 3a6e7d5d2..8e95605a5 100644 --- a/frontend/src/views/Pages/UserProfile/UserCard_CoinAnimation.spec.js +++ b/frontend/src/views/Pages/UserProfile/UserCard_CoinAnimation.spec.js @@ -71,11 +71,11 @@ describe('UserCard_CoinAnimation', () => { }) it('updates the store', () => { - expect(storeCommitMock).toBeCalledWith('coinanimation', false) + expect(storeCommitMock).toBeCalledWith('coinanimation', true) }) it('toasts a success message', () => { - expect(toastSuccessMock).toBeCalledWith('settings.coinanimation.False') + expect(toastSuccessMock).toBeCalledWith('settings.coinanimation.True') }) }) @@ -102,11 +102,11 @@ describe('UserCard_CoinAnimation', () => { }) it('updates the store', () => { - expect(storeCommitMock).toBeCalledWith('coinanimation', true) + expect(storeCommitMock).toBeCalledWith('coinanimation', false) }) it('toasts a success message', () => { - expect(toastSuccessMock).toBeCalledWith('settings.coinanimation.True') + expect(toastSuccessMock).toBeCalledWith('settings.coinanimation.False') }) })