Skip to content

Commit

Permalink
Merge branch '5271-r51-extend-cancel-date-for-visa-resident'
Browse files Browse the repository at this point in the history
  • Loading branch information
AnumehaSrivastava05 committed Nov 16, 2022
2 parents fc4337c + d6ee4f1 commit e19d6c4
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ public void testExtendCancelDate_success() throws Exception {
assertEquals(MediaType.TEXT_PLAIN.toString(), recordedRequest.getHeader(CONTENT_TYPE));

assertTransactionCreated(TransactionType.EXTEND_CANCEL_DATE);
assertAffectedPartyCount(AffectedPartyDirection.INBOUND, 1);
assertAffectedPartyCount(AffectedPartyDirection.INBOUND, 2);
assertAffectedPartyCount(AffectedPartyDirection.OUTBOUND, 1);
}

Expand All @@ -638,7 +638,7 @@ public void testExtendCancelDate_error_invalidImmigrationCode() throws Exception
assertEquals(MediaType.TEXT_PLAIN.toString(), recordedRequest.getHeader(CONTENT_TYPE));

assertTransactionCreated(TransactionType.EXTEND_CANCEL_DATE);
assertAffectedPartyCount(AffectedPartyDirection.INBOUND, 1);
assertAffectedPartyCount(AffectedPartyDirection.INBOUND, 2);
assertAffectedPartyCount(AffectedPartyDirection.OUTBOUND, 1);
}

Expand All @@ -665,7 +665,7 @@ public void testExtendCancelDate_error_expiryDateMustBeAfterIssueDate() throws E
assertEquals(MediaType.TEXT_PLAIN.toString(), recordedRequest.getHeader(CONTENT_TYPE));

assertTransactionCreated(TransactionType.EXTEND_CANCEL_DATE);
assertAffectedPartyCount(AffectedPartyDirection.INBOUND, 1);
assertAffectedPartyCount(AffectedPartyDirection.INBOUND, 2);
assertAffectedPartyCount(AffectedPartyDirection.OUTBOUND, 1);
}

Expand Down Expand Up @@ -693,7 +693,7 @@ public void testExtendCancelDate_error_visaDateChangeRejected() throws Exception
assertEquals(MediaType.TEXT_PLAIN.toString(), recordedRequest.getHeader(CONTENT_TYPE));

assertTransactionCreated(TransactionType.EXTEND_CANCEL_DATE);
assertAffectedPartyCount(AffectedPartyDirection.INBOUND, 1);
assertAffectedPartyCount(AffectedPartyDirection.INBOUND, 2);
assertAffectedPartyCount(AffectedPartyDirection.OUTBOUND, 1);
}

Expand Down

0 comments on commit e19d6c4

Please sign in to comment.