diff options
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/shared/notifications.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/shared/notifications.ts b/server/tests/shared/notifications.ts index 2a69a09de..58d79d3aa 100644 --- a/server/tests/shared/notifications.ts +++ b/server/tests/shared/notifications.ts | |||
@@ -685,7 +685,7 @@ async function prepareNotificationsTest (serversCount = 3, overrideConfigArg: an | |||
685 | await setDefaultChannelAvatar(servers) | 685 | await setDefaultChannelAvatar(servers) |
686 | await setDefaultAccountAvatar(servers) | 686 | await setDefaultAccountAvatar(servers) |
687 | 687 | ||
688 | await servers[1].config.enableStudio() | 688 | if (servers[1]) await servers[1].config.enableStudio() |
689 | 689 | ||
690 | if (serversCount > 1) { | 690 | if (serversCount > 1) { |
691 | await doubleFollow(servers[0], servers[1]) | 691 | await doubleFollow(servers[0], servers[1]) |