improve test cases coverage

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino
2023-04-08 10:01:48 +02:00
parent 184b99d500
commit f03f1b0156
11 changed files with 192 additions and 96 deletions

View File

@@ -4011,7 +4011,7 @@ func generateTOTPPasscode(secret string, algo otp.Algorithm) (string, error) {
func startHTTPFs() {
go func() {
if err := httpdtest.StartTestHTTPFs(httpFsPort); err != nil {
if err := httpdtest.StartTestHTTPFs(httpFsPort, nil); err != nil {
logger.ErrorToConsole("could not start HTTPfs test server: %v", err)
os.Exit(1)
}