always check recently updated users

also fix the query to get users for quota check for sql based providers

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino
2022-04-30 11:59:36 +02:00
parent dd9c5b2149
commit 14fb6c4038
11 changed files with 227 additions and 103 deletions

View File

@@ -695,6 +695,9 @@ func TestRootDirVirtualFolder(t *testing.T) {
})
user, _, err := httpdtest.AddUser(u, http.StatusCreated)
assert.NoError(t, err)
f, err := user.GetVirtualFolderForPath("/")
assert.NoError(t, err)
assert.Equal(t, "/", f.VirtualPath)
conn, client, err := getSftpClient(user)
if assert.NoError(t, err) {
defer conn.Close()