@@ -223,10 +223,10 @@ properties = do
223223 (property . prop_modSettingsReadSettings)
224224 it " putLastMetadataGC . readLastMetadataGC == id"
225225 (property . prop_putLastMetadataGCReadLastMetadataGC)
226- it " delistPools >> readDelistedPools shows the pool as delisted"
227- (property . prop_delistPools )
226+ it " putDelistedPools >> readDelistedPools shows the pool as delisted"
227+ (property . prop_putDelistedPools )
228228 it " delisting a pools persists even if a new certificate is registered"
229- (property . prop_delistPoolsPersists )
229+ (property . prop_putDelistedPoolsPersists )
230230
231231{- ------------------------------------------------------------------------------
232232 Properties
@@ -1459,11 +1459,11 @@ prop_putLastMetadataGCReadLastMetadataGC DBLayer{..} posixTime = do
14591459 assertWith " Setting sync time and reading afterwards works"
14601460 (time == Just posixTime)
14611461
1462- prop_delistPools
1462+ prop_putDelistedPools
14631463 :: DBLayer IO
14641464 -> [(CertificatePublicationTime , PoolRegistrationCertificate )]
14651465 -> Property
1466- prop_delistPools DBLayer {.. } entries =
1466+ prop_putDelistedPools DBLayer {.. } entries =
14671467 monadicIO (setup >> prop)
14681468 where
14691469 setup = run $ atomically cleanDB
@@ -1486,7 +1486,7 @@ prop_delistPools DBLayer {..} entries =
14861486
14871487 -- delist pools
14881488 let poolsToDelist = L. sort $ fmap (view # poolId . snd ) entriesIn
1489- run $ atomically $ delistPools poolsToDelist
1489+ run $ atomically $ putDelistedPools poolsToDelist
14901490 poolsDelisted <- L. sort <$> run (atomically readDelistedPools)
14911491 monitor $ counterexample $ unlines
14921492 [ " Pools to delist: "
@@ -1497,11 +1497,11 @@ prop_delistPools DBLayer {..} entries =
14971497 assertWith " poolsToDelist == poolsDelisted"
14981498 $ poolsToDelist == poolsDelisted
14991499
1500- prop_delistPoolsPersists
1500+ prop_putDelistedPoolsPersists
15011501 :: DBLayer IO
15021502 -> (CertificatePublicationTime , PoolRegistrationCertificate )
15031503 -> Property
1504- prop_delistPoolsPersists DBLayer {.. } cert =
1504+ prop_putDelistedPoolsPersists DBLayer {.. } cert =
15051505 monadicIO (setup >> prop)
15061506 where
15071507 setup = run $ atomically cleanDB
@@ -1510,7 +1510,7 @@ prop_delistPoolsPersists DBLayer {..} cert =
15101510
15111511 let poolid = view # poolId . snd $ cert
15121512 -- delist pool
1513- run $ atomically $ delistPools [poolid]
1513+ run $ atomically $ putDelistedPools [poolid]
15141514 delisted <- run $ atomically readDelistedPools
15151515 let expected = [poolid]
15161516 assertWith " expected == delisted"
0 commit comments