File tree Expand file tree Collapse file tree
src/test/java/uk/gov/pay/ledger/pact Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,14 +69,13 @@ public void test() {
6969
7070 await ().atMost (1 , TimeUnit .SECONDS ).until (
7171 () -> transactionDao .findTransactionByExternalId (externalId ).isPresent ()
72- && transactionDao .findTransactionByExternalId (externalId ).get ().getEmail () != null
72+ && transactionDao .findTransactionByExternalId (externalId ).get ().getCardholderName () != null
7373 );
7474
7575 Optional <TransactionEntity > transaction = transactionDao .findTransactionByExternalId (externalId );
7676
7777 assertThat (transaction .isPresent (), is (true ));
7878 assertThat (transaction .get ().getExternalId (), is (externalId ));
79- assertThat (transaction .get ().getEmail (), is ("j.doe@example.org" ));
8079 assertThat (transaction .get ().getCardBrand (), is ("visa" ));
8180 assertThat (transaction .get ().getFirstDigitsCardNumber (), is ("424242" ));
8281 assertThat (transaction .get ().getLastDigitsCardNumber (), is ("4242" ));
You can’t perform that action at this time.
0 commit comments