mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-11-22 08:17:28 +00:00
Isolate metadata cleanup tests from shared prekey storage
Three metadata controller tests now inject successful prekey cleanup. Their completion and retry assertions no longer depend on the shared prekey store. Dedicated prekey failure tests remain unchanged.
This commit is contained in:
parent
af392a7a19
commit
9ffd473884
@ -2173,7 +2173,8 @@ struct ChatViewModelPanicTests {
|
||||
wipeGossip: { wipe(2) },
|
||||
wipeGroups: { wipe(3) },
|
||||
wipeBoard: { wipe(4) },
|
||||
wipeEvents: { wipe(5) }
|
||||
wipeEvents: { wipe(5) },
|
||||
wipePrekeys: { true }
|
||||
)
|
||||
let recovery = PanicRecoveryOperations(
|
||||
isPending: { pending },
|
||||
@ -2257,7 +2258,8 @@ struct ChatViewModelPanicTests {
|
||||
let metadata = PanicMetadataWipeOperations(
|
||||
wipeCourier: { wipe(0) }, wipeBridge: { wipe(1) },
|
||||
wipeGossip: { wipe(2) }, wipeGroups: { wipe(3) },
|
||||
wipeBoard: { wipe(4) }, wipeEvents: { wipe(5) }
|
||||
wipeBoard: { wipe(4) }, wipeEvents: { wipe(5) },
|
||||
wipePrekeys: { true }
|
||||
)
|
||||
var pending = false
|
||||
var mediaAttempts = 0
|
||||
@ -2331,7 +2333,8 @@ struct ChatViewModelPanicTests {
|
||||
let metadata = PanicMetadataWipeOperations(
|
||||
wipeCourier: { wipe(0) }, wipeBridge: { wipe(1) },
|
||||
wipeGossip: { wipe(2) }, wipeGroups: { wipe(3) },
|
||||
wipeBoard: { wipe(4) }, wipeEvents: { wipe(5) }
|
||||
wipeBoard: { wipe(4) }, wipeEvents: { wipe(5) },
|
||||
wipePrekeys: { true }
|
||||
)
|
||||
let recovery = PanicRecoveryOperations(
|
||||
isPending: { pending },
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user