Fix keycard test

This commit is contained in:
Andrea Maria Piana 2023-11-01 19:49:56 +00:00
parent c27384680a
commit c76ca62375
1 changed files with 4 additions and 1 deletions

View File

@ -811,7 +811,10 @@ func (s *MessengerBackupSuite) TestBackupKeycards() {
_, err = WaitOnMessengerResponse(
bob2,
func(r *MessengerResponse) bool {
return r.BackupHandled
syncedKeycards, err := bob2.settings.GetAllKnownKeycards()
s.Require().NoError(err)
return r.BackupHandled && len(syncedKeycards) == 4
},
"no messages",
)