Add test for the too big upload fail

This commit is contained in:
Justin Hawkins 2021-10-19 22:40:29 +10:30
parent 672fd83f27
commit 460fcf5523

View File

@ -66,4 +66,7 @@ func TestTooBigUpload(t *testing.T) {
} else if err.Error() != "received 413 - file too large" {
t.Errorf("wrong error occurred: %s", err.Error())
}
if u.Failed != true {
t.Error("upload should have been marked failed")
}
}