testManager.setDumpFailedReports(enable);
else if(param2 == "success")
testManager.setDumpSuccessReports(enable);
- else if(param2 == "all")
+ else if(param2 == "all") {
+ param2 = "any";
testManager.setDumpAllReports(enable);
- else if(param2 == "none")
- testManager.setDumpAllReports(!enable);
+ }
+ else if(param2 == "none") {
+ enable = !enable;
+ param2 = "any";
+ testManager.setDumpAllReports(enable);
+ }
else
throw anna::RuntimeException("Wrong body content format on HTTP Request. Use 'help' management command to see more information.", ANNA_FILE_LOCATION);