diff --git a/pkg/filevalidation/validator_test.go b/pkg/filevalidation/validator_test.go index 2a2df4e1e..5b36d69a3 100644 --- a/pkg/filevalidation/validator_test.go +++ b/pkg/filevalidation/validator_test.go @@ -229,7 +229,8 @@ func TestValidateEdgeCases(t *testing.T) { filename: "empty.txt", contentType: "text/plain", fileSize: 0, - shouldError: false, + shouldError: true, + errorMsg: "file can't be empty", }, { name: "Exact max file size",