store: say what the lapse test sets up

This commit is contained in:
shum committed 2026-10-22 04:09:32 +00:00
1 parent f0b8def091
commit 5148e525cf
1 file changed
+1 -1
+1 -1
View File
@@ -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)