Fixed some bad test cases that really messed up my codebase.
This commit is contained in:
parent
b66c6b5714
commit
585e965a85
11 changed files with 97 additions and 93 deletions
|
@ -52,7 +52,7 @@ namespace API.Controllers
|
|||
var dateString = DateTime.Now.ToShortDateString().Replace("/", "_");
|
||||
|
||||
var tempLocation = Path.Join(tempDirectory, "logs_" + dateString);
|
||||
_directoryService.ExistOrCreate(tempLocation);
|
||||
DirectoryService.ExistOrCreate(tempLocation);
|
||||
if (!_directoryService.CopyFilesToDirectory(files, tempLocation))
|
||||
{
|
||||
return BadRequest("Unable to copy files to temp directory for log download.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue