From 79b6e56cd7d75c57178df999b10a703b4fcb1dda Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Wed, 5 Apr 2023 20:20:21 -0700 Subject: [PATCH] Use the same fake user in test --- web/components/layouts/Main/Main.stories.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/components/layouts/Main/Main.stories.tsx b/web/components/layouts/Main/Main.stories.tsx index 054847050..b956238a2 100644 --- a/web/components/layouts/Main/Main.stories.tsx +++ b/web/components/layouts/Main/Main.stories.tsx @@ -26,7 +26,7 @@ import chatServiceMockOf from '../../../services/chat-service.mock'; import serverStatusServiceMockOf from '../../../services/status-service.mock'; import { VideoSettingsServiceContext } from '../../../services/video-settings-service'; import videoSettingsServiceMockOf from '../../../services/video-settings-service.mock'; -import { grootUser, spidermanUser } from '../../../interfaces/user.fixture'; +import { spidermanUser } from '../../../interfaces/user.fixture'; import { exampleChatHistory } from '../../../interfaces/chat-message.fixture'; export default { @@ -80,7 +80,7 @@ const initializeDefaultState = (mutableState: MutableSnapshot) => { const ClientConfigServiceMock = clientConfigServiceMockOf(defaultClientConfig); const ChatServiceMock = chatServiceMockOf(exampleChatHistory, { - ...grootUser, + ...spidermanUser, accessToken: 'some fake token', }); const DefaultServerStatusServiceMock = serverStatusServiceMockOf(defaultServerStatus);