Skip to content

Commit

Permalink
update test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
osulzhenko committed Jun 3, 2024
1 parent 3fada4f commit 95e99b1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public void getAccountByIdShouldReturnResultFromSeparateCallWhenCacheWasInvalida

// when
final Future<Account> future = target.getAccountById("accountId", timeout);
target.invalidateAllAccountCache();
target.invalidateAccountCache("accountId");
target.getAccountById("accountId", timeout);

// then
Expand Down Expand Up @@ -223,7 +223,7 @@ public void getAccountByIdShouldThrowSeparatePreBidExceptionWhenCacheWasInvalida

// when
target.getAccountById("accountId", timeout);
target.invalidateAllAccountCache();
target.invalidateAccountCache("accountId");
final Future<Account> lastFuture = target
.getAccountById("accountId", timeout);

Expand Down

0 comments on commit 95e99b1

Please sign in to comment.