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

This commit is contained in:
Romain LE JEUNE
2023-06-29 13:11:42 +02:00
parent 9f13301613
commit 03cf601921
7 changed files with 512 additions and 1 deletions

View File

@ -119,7 +119,7 @@ func (s *scenario) forceConfigStatusProgressToBeSentForUser(username string) err
if err != nil {
return err
}
defer f.Close()
defer func() { _ = f.Close() }()
return json.NewEncoder(f).Encode(data)
}