add an example script for scheduled quota updates

This commit is contained in:
Nicola Murino
2021-04-26 21:53:09 +02:00
parent 1275328fdf
commit 32db0787bb
5 changed files with 143 additions and 4 deletions

View File

@@ -562,7 +562,7 @@ func TestBasicFTPHandling(t *testing.T) {
assert.Eventually(t, func() bool { return len(common.Connections.GetStats()) == 0 }, 1*time.Second, 50*time.Millisecond)
}
func TestLoginInvalidCredetials(t *testing.T) {
func TestLoginInvalidCredentials(t *testing.T) {
u := getTestUser()
user, _, err := httpdtest.AddUser(u, http.StatusCreated)
assert.NoError(t, err)