Skip to content

Commit

Permalink
#2479 - Finastra - File name change (#2603)
Browse files Browse the repository at this point in the history
- Change the PT eCert SEND file naming convention to:
TPBC.EDU.NEW.PTCERTS.Dyyyyjjj.001
  • Loading branch information
lewischen-aot authored Dec 15, 2023
1 parent 199f47a commit 2a344f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ describe(
// Assert uploaded file.
const uploadedFile = getUploadedFile(sftpClientMock);
const fileDate = dayjs().format("YYYYMMDD");
const uploadedFileName = `MSFT-Request\\DPBC.EDU.PTCERTS.D${fileDate}.001`;
const uploadedFileName = `MSFT-Request\\DPBC.EDU.NEW.PTCERTS.D${fileDate}.001`;
expect(uploadedFile.remoteFilePath).toBe(uploadedFileName);
expect(result).toStrictEqual([
"Process finalized with success.",
Expand Down Expand Up @@ -241,7 +241,7 @@ describe(
// Assert uploaded file.
const uploadedFile = getUploadedFile(sftpClientMock);
const fileDate = dayjs().format("YYYYMMDD");
const uploadedFileName = `MSFT-Request\\DPBC.EDU.PTCERTS.D${fileDate}.001`;
const uploadedFileName = `MSFT-Request\\DPBC.EDU.NEW.PTCERTS.D${fileDate}.001`;
expect(uploadedFile.remoteFilePath).toBe(uploadedFileName);
expect(result).toStrictEqual([
"Process finalized with success.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const DAILY_DISBURSEMENT_REPORT_NAME = "Daily_Disbursement_File";
* created for Full-Time/ Part-Time files while ECert request file is generated.
*/
export const ECERT_FULL_TIME_FILE_CODE = "PBC.EDU.FTECERTS.";
export const ECERT_PART_TIME_FILE_CODE = "PBC.EDU.PTCERTS.D";
export const ECERT_PART_TIME_FILE_CODE = "PBC.EDU.NEW.PTCERTS.D";

/**
* These constants are used to specify the filename code
Expand Down

0 comments on commit 2a344f2

Please sign in to comment.