테스트 코드 개선
This commit is contained in:
@@ -50,7 +50,7 @@ public class EmailJob {
|
|||||||
this.messageRequest = messageRequest;
|
this.messageRequest = messageRequest;
|
||||||
this.prop = prop;
|
this.prop = prop;
|
||||||
|
|
||||||
String filename = messageRequest.getServiceId() + "_" + DateTimeFormatter.ofPattern("yyyyMMddHHmmss").format(now);
|
String filename = messageRequest.getServiceId() + "_" + DateTimeFormatter.ofPattern("yyyyMMddHHmmss").format(now) + ".dat";
|
||||||
this.eaiFilePath = Paths.get(prop.getUmsEaiBatchSendDir(), filename);
|
this.eaiFilePath = Paths.get(prop.getUmsEaiBatchSendDir(), filename);
|
||||||
this.backupFilePath = Paths.get(prop.getUmsEaiBatchBackupDir(), filename);
|
this.backupFilePath = Paths.get(prop.getUmsEaiBatchBackupDir(), filename);
|
||||||
this.failedFilePath = Paths.get(prop.getUmsEaiBatchBackupDir(), filename + ".failed");
|
this.failedFilePath = Paths.get(prop.getUmsEaiBatchBackupDir(), filename + ".failed");
|
||||||
|
|||||||
Reference in New Issue
Block a user