core: fix mac tests (#576)

* core: fix mac tests

* enable all tests
This commit is contained in:
Evgeny Poberezkin
2022-04-26 09:08:39 +01:00
committed by GitHub
parent 762024dfd9
commit f02dcc851e
+2 -2
View File
@@ -53,10 +53,10 @@ testChatApiNoUser = withTmpFiles $ do
testChatApi :: IO ()
testChatApi = withTmpFiles $ do
let f = chatStoreFile testDBPrefix
let f = chatStoreFile $ testDBPrefix <> "1"
st <- createStore f 1 True
Right _ <- runExceptT $ createUser st aliceProfile True
cc <- chatInit testDBPrefix
cc <- chatInit $ testDBPrefix <> "1"
chatSendCmd cc "/u" `shouldReturn` activeUser
chatSendCmd cc "/u alice Alice" `shouldReturn` activeUserExists
chatSendCmd cc "/_start" `shouldReturn` chatStarted