Skip to content

Commit 96e214d

Browse files
committed
Fix SearchUIUtils test action-loading key prefix
1 parent da532ad commit 96e214d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/unit/Search/SearchUIUtilsTest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5341,7 +5341,7 @@ describe('SearchUIUtils', () => {
53415341

53425342
it('should bypass status filter when isActionLoadingSet contains the report metadata key', () => {
53435343
const data = makeFilterTestData({stateNum: CONST.REPORT.STATE_NUM.OPEN, statusNum: CONST.REPORT.STATUS_NUM.OPEN});
5344-
const loadingSet = new Set([`${ONYXKEYS.COLLECTION.REPORT_METADATA}${filterTestReportID}`]);
5344+
const loadingSet = new Set([`${ONYXKEYS.COLLECTION.RAM_ONLY_REPORT_LOADING_STATE}${filterTestReportID}`]);
53455345
const [sections] = callGetTransactionsSections(data, {
53465346
queryJSON: makeExpenseQueryJSON(CONST.SEARCH.STATUS.EXPENSE.OUTSTANDING),
53475347
isActionLoadingSet: loadingSet,
@@ -5552,7 +5552,7 @@ describe('SearchUIUtils', () => {
55525552

55535553
it('should bypass status filter when isActionLoadingSet contains the report metadata key', () => {
55545554
const data = makeReportFilterTestData({stateNum: CONST.REPORT.STATE_NUM.OPEN, statusNum: CONST.REPORT.STATUS_NUM.OPEN, type: CONST.REPORT.TYPE.EXPENSE});
5555-
const loadingSet = new Set([`${ONYXKEYS.COLLECTION.REPORT_METADATA}${rptFilterReportID}`]);
5555+
const loadingSet = new Set([`${ONYXKEYS.COLLECTION.RAM_ONLY_REPORT_LOADING_STATE}${rptFilterReportID}`]);
55565556
const [sections] = callGetReportSections(data, {
55575557
queryJSON: makeExpenseQueryJSON(CONST.SEARCH.STATUS.EXPENSE.OUTSTANDING),
55585558
isActionLoadingSet: loadingSet,

0 commit comments

Comments
 (0)