@@ -13966,6 +13966,8 @@ describe('ReportUtils', () => {
1396613966 userBillingGracePeriodEnds: undefined,
1396713967 amountOwed: 0,
1396813968 transaction: undefined,
13969+ currentUserAccountID,
13970+ currentUserEmail,
1396913971 });
1397013972
1397113973 expect(Navigation.navigate).not.toHaveBeenCalled();
@@ -14005,6 +14007,8 @@ describe('ReportUtils', () => {
1400514007 amountOwed: 1,
1400614008 ownerBillingGracePeriodEnd: pastGracePeriod,
1400714009 transaction,
14010+ currentUserAccountID,
14011+ currentUserEmail,
1400814012 });
1400914013
1401014014 // Then it should navigate to the restricted action page
@@ -14040,6 +14044,8 @@ describe('ReportUtils', () => {
1404014044 userBillingGracePeriodEnds,
1404114045 amountOwed: 0,
1404214046 transaction,
14047+ currentUserAccountID,
14048+ currentUserEmail,
1404314049 });
1404414050
1404514051 // Then it should navigate to the restricted action page
@@ -14078,6 +14084,8 @@ describe('ReportUtils', () => {
1407814084 userBillingGracePeriodEnds: undefined,
1407914085 amountOwed: 0,
1408014086 transaction,
14087+ currentUserAccountID,
14088+ currentUserEmail,
1408114089 });
1408214090
1408314091 // Then it should navigate to the category step
@@ -14118,6 +14126,8 @@ describe('ReportUtils', () => {
1411814126 userBillingGracePeriodEnds: undefined,
1411914127 amountOwed: 0,
1412014128 transaction,
14129+ currentUserAccountID,
14130+ currentUserEmail,
1412114131 });
1412214132
1412314133 // Then it should automatically pick the available policy and navigate to the category step
@@ -14145,6 +14155,8 @@ describe('ReportUtils', () => {
1414514155 userBillingGracePeriodEnds: undefined,
1414614156 amountOwed: 0,
1414714157 transaction,
14158+ currentUserAccountID,
14159+ currentUserEmail,
1414814160 });
1414914161
1415014162 // Then it should navigate to the upgrade page because no policies were found to categorize with
@@ -14193,6 +14205,8 @@ describe('ReportUtils', () => {
1419314205 userBillingGracePeriodEnds: undefined,
1419414206 amountOwed: 0,
1419514207 transaction,
14208+ currentUserAccountID,
14209+ currentUserEmail,
1419614210 });
1419714211
1419814212 // Then it should navigate to the upgrade page because it's ambiguous which policy to use
@@ -14237,6 +14251,8 @@ describe('ReportUtils', () => {
1423714251 userBillingGracePeriodEnds: undefined,
1423814252 amountOwed: 0,
1423914253 transaction,
14254+ currentUserAccountID,
14255+ currentUserEmail,
1424014256 });
1424114257
1424214258 // Then it should log a warning and not navigate
@@ -14281,6 +14297,8 @@ describe('ReportUtils', () => {
1428114297 amountOwed: 0,
1428214298 ownerBillingGracePeriodEnd: pastGracePeriod,
1428314299 transaction,
14300+ currentUserAccountID,
14301+ currentUserEmail,
1428414302 });
1428514303
1428614304 // Then it should NOT navigate to restricted action page, but to category step
@@ -14317,6 +14335,8 @@ describe('ReportUtils', () => {
1431714335 amountOwed: 50,
1431814336 ownerBillingGracePeriodEnd: pastGracePeriod,
1431914337 transaction,
14338+ currentUserAccountID,
14339+ currentUserEmail,
1432014340 });
1432114341
1432214342 // Then it should navigate to restricted action page
0 commit comments