Skip to content

Commit f02ca14

Browse files
committed
fix test
1 parent 8bd8532 commit f02ca14

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/unit/NextStepUtilsTest.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1192,9 +1192,9 @@ describe('libs/NextStepUtils', () => {
11921192
const result = getReportNextStep(undefined, report, [transaction] as Array<OnyxEntry<Transaction>>, undefined, transactionViolations, currentUserEmail, currentUserAccountID);
11931193

11941194
expect(result).toEqual({
1195-
type: 'neutral',
11961195
icon: CONST.NEXT_STEP.ICONS.HOURGLASS,
1197-
message: [{text: 'Waiting for '}, {text: 'you', type: 'strong'}, {text: ' to '}, {text: 'fix the issue(s)'}],
1196+
messageKey: CONST.NEXT_STEP.MESSAGE_KEY.WAITING_TO_FIX_ISSUES,
1197+
actorAccountID: report.ownerAccountID,
11981198
});
11991199
});
12001200

@@ -1303,9 +1303,9 @@ describe('libs/NextStepUtils', () => {
13031303
const result = getReportNextStep(undefined, report, [transaction] as Array<OnyxEntry<Transaction>>, policy, transactionViolations, currentUserEmail, currentUserAccountID);
13041304

13051305
expect(result).toEqual({
1306-
type: 'neutral',
1306+
messageKey: CONST.NEXT_STEP.MESSAGE_KEY.WAITING_TO_FIX_ISSUES,
13071307
icon: CONST.NEXT_STEP.ICONS.HOURGLASS,
1308-
message: [{text: 'Waiting for '}, {text: 'you', type: 'strong'}, {text: ' to '}, {text: 'fix the issue(s)'}],
1308+
actorAccountID: report.ownerAccountID,
13091309
});
13101310
});
13111311
});

0 commit comments

Comments
 (0)