File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -275,9 +275,9 @@ describe('ApplicationService', () => {
275
275
expect ( service . getStatusStringLong ( application ) ) . toBe ( 'Unknown Status' ) ;
276
276
} ) ;
277
277
278
- it ( 'with status ABANDONED and reason AMENDMENT APPROVED - APPLICATION it returns "Amendment : Approved"' , ( ) => {
278
+ it ( 'with status ABANDONED and reason AMENDMENT APPROVED - APPLICATION it returns "Decision : Approved ... "' , ( ) => {
279
279
application = new Application ( { status : 'ABANDONED' , reason : 'AMENDMENT APPROVED - APPLICATION' } ) ;
280
- expect ( service . getStatusStringLong ( application ) ) . toBe ( 'Amendment : Approved' ) ;
280
+ expect ( service . getStatusStringLong ( application ) ) . toBe ( 'Decision : Approved - Tenure Issued ' ) ;
281
281
} ) ;
282
282
283
283
it ( 'with status ABANDONED it returns "Abandoned"' , ( ) => {
Original file line number Diff line number Diff line change @@ -77,7 +77,10 @@ export class StatusCodes implements ICodeSet {
77
77
/**
78
78
* Application Reason codes.
79
79
*
80
- * Note: the reason code indicates additional information about the status code.
80
+ * Note:
81
+ * - the reason code indicates additional information about the status code.
82
+ * - the reason codes don't have unique text, instead they use the same text as their Status
83
+ * counterpart: (Decision_Approved and Decision_Not_Approved).
81
84
*
82
85
* @export
83
86
* @class ReasonCodes
@@ -87,14 +90,14 @@ export class ReasonCodes implements ICodeSet {
87
90
public static readonly AMENDMENT_APPROVED : ICodeGroup = {
88
91
code : 'AMENDMENT APPROVED - APPLICATION' ,
89
92
param : 'AA' ,
90
- text : { long : 'Amendment : Approved' , short : 'Amendment: Approved' } ,
93
+ text : { long : 'Decision : Approved - Tenure Issued ' , short : 'Approved' } ,
91
94
mappedCodes : [ ]
92
95
} ;
93
96
94
97
public static readonly AMENDMENT_NOT_APPROVED : ICodeGroup = {
95
98
code : 'AMENDMENT NOT APPROVED - APPLICATION' ,
96
99
param : 'ANA' ,
97
- text : { long : 'Amendment : Not Approved' , short : 'Amendment: Not Approved' } ,
100
+ text : { long : 'Decision : Not Approved' , short : 'Not Approved' } ,
98
101
mappedCodes : [ ]
99
102
} ;
100
103
You can’t perform that action at this time.
0 commit comments