update deps

This commit is contained in:
Nicola Murino
2021-07-31 10:22:38 +02:00
parent a26962f367
commit 7640612a95
4 changed files with 76 additions and 125 deletions

View File

@@ -12,6 +12,7 @@ import (
"time"
"github.com/eikenb/pipeat"
ftpserver "github.com/fclairamb/ftpserverlib"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
@@ -295,6 +296,10 @@ func (cc mockFTPClientContext) GetLastCommand() string {
return ""
}
func (cc mockFTPClientContext) GetLastDataChannel() ftpserver.DataChannel {
return ftpserver.DataChannelPassive
}
// MockOsFs mockable OsFs
type MockOsFs struct {
vfs.Fs