mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-10-23 10:52:28 +00:00
fix test
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -81,7 +81,7 @@ testPNEncoding = do
|
||||
pnMess = pnM "MyMessage"
|
||||
enc pnCheck `shouldBe` "{\"checkMessages\":true}"
|
||||
enc pnVerif `shouldBe` "{\"verification\":\"YWJjZA==\"}"
|
||||
enc pnMess `shouldBe` "{\"message\":\"smp://AAAA@l/AAAA 1761827386 bm9uY2UAAAAAAAAAAAAAAAAAAAAAAAAA TXlNZXNzYWdl\"}"
|
||||
enc pnMess `shouldBe` "{\"checkMessages\":true}"
|
||||
where
|
||||
enc p = BL.toStrict $ encodeWPN p
|
||||
pnM :: B.ByteString -> PushNotification
|
||||
|
||||
Reference in new issue
Block a user