mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 06:40:54 +03:00
sftpgo-copy: add quota limits check
This commit is contained in:
@@ -587,7 +587,8 @@ func TestSFTPGetUsedQuota(t *testing.T) {
|
||||
connection := Connection{
|
||||
User: u,
|
||||
}
|
||||
assert.False(t, connection.hasSpace(false, "/"))
|
||||
quotaResult := connection.hasSpace(false, "/")
|
||||
assert.False(t, quotaResult.HasSpace)
|
||||
}
|
||||
|
||||
func TestSupportedSSHCommands(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user