diff --git a/resources/assets/tests/views/user/Dashboard.test.tsx b/resources/assets/tests/views/user/Dashboard.test.tsx index bc92c6a2..b02565b9 100644 --- a/resources/assets/tests/views/user/Dashboard.test.tsx +++ b/resources/assets/tests/views/user/Dashboard.test.tsx @@ -25,7 +25,7 @@ function scoreInfo(data = {}, user = {}, stats = {}) { describe('info box', () => { it('players', async () => { fetch.get.mockResolvedValue( - scoreInfo({}, {}, { players: { used: 13, total: 21 } }), + scoreInfo({}, { score: 0 }, { players: { used: 13, total: 21 } }), ) const { getByText } = render() @@ -37,7 +37,7 @@ describe('info box', () => { describe('storage', () => { it('in KB', async () => { fetch.get.mockResolvedValue( - scoreInfo({}, {}, { storage: { used: 700, total: 800 } }), + scoreInfo({}, { score: 0 }, { storage: { used: 700, total: 800 } }), ) const { getByText } = render() @@ -49,7 +49,7 @@ describe('info box', () => { it('in MB', async () => { fetch.get.mockResolvedValue( - scoreInfo({}, {}, { storage: { used: 7168, total: 10240 } }), + scoreInfo({}, { score: 0 }, { storage: { used: 7168, total: 10240 } }), ) const { getByText } = render()