feat(GODT-2715): Add Functional test for configStatus telemetry event.

This commit is contained in:
Romain LE JEUNE
2023-06-28 18:29:04 +02:00
parent 552fc2700f
commit 9f13301613
5 changed files with 186 additions and 17 deletions

View File

@ -125,6 +125,15 @@ func (s *scenario) imapClientCannotAuthenticateWithIncorrectPassword(clientID st
return nil
}
func (s *scenario) imapClientCloses(clientID string) error {
_, client := s.t.getIMAPClient(clientID)
if err := client.Logout(); err != nil {
return err
}
delete(s.t.imapClients, clientID)
return nil
}
func (s *scenario) imapClientAnnouncesItsIDWithNameAndVersion(clientID, name, version string) error {
_, client := s.t.getIMAPClient(clientID)