mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-11-11 22:38:01 +00:00
store: say what the lapse test sets up
This commit is contained in:
1 parent
f0b8def091
commit
5148e525cf
1 file changed
+1
-1
@@ -255,7 +255,7 @@ testLapseReadsFailed = bounded "lapse" $ withPolls holdMicros $ \Polls {pCtx = c
|
||||
(_, o) <- get ctx (invoicePath inv)
|
||||
(key "phase" (registrationOf o), key "error" (registrationOf o)) `shouldBe` (Just "failed", Just "The name was not signed in time")
|
||||
(nrPhase <$> invoiceRegistration ctx inv) `shouldReturn` PCommitted
|
||||
-- one whose reveal was accepted is registering, not lapsed
|
||||
-- one with a reveal set stays committed past revealBefore
|
||||
revealed <- change ctx nrId $ \r' -> r' {nrReveal = Just reveal}
|
||||
pSetNow $ addUTCTime 3600 lapsedAt
|
||||
(_, r') <- get ctx (registrationPath nrId)
|
||||
|
||||
Reference in new issue
Block a user