mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 14:50:55 +03:00
events: add elapsed to UI and exports
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
@@ -3041,13 +3041,13 @@ func TestEventsCSV(t *testing.T) {
|
||||
Status: 1,
|
||||
}
|
||||
data := e.getCSVData()
|
||||
assert.Equal(t, "OK", data[4])
|
||||
assert.Equal(t, "OK", data[5])
|
||||
e.Status = 2
|
||||
data = e.getCSVData()
|
||||
assert.Equal(t, "KO", data[4])
|
||||
assert.Equal(t, "KO", data[5])
|
||||
e.Status = 3
|
||||
data = e.getCSVData()
|
||||
assert.Equal(t, "Quota exceeded", data[4])
|
||||
assert.Equal(t, "Quota exceeded", data[5])
|
||||
}
|
||||
|
||||
func isSharedProviderSupported() bool {
|
||||
|
||||
Reference in New Issue
Block a user