Skip to content

Commit 2abe642

Browse files
committed
clean: clean up some vars in TransactionRequestServiceImplTest
1 parent b17a3ab commit 2abe642

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/test/java/dev/maddock/sprank/service/impl/TransactionRequestServiceImplTest.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,7 @@ void customerDoesNotOwnTargetAccount_shouldThrow() {
166166
class FulfillTransactionRequestTest {
167167

168168
private Customer fulfillingCustomer;
169-
private Account fulfillingAccount;
170169

171-
private Account targetAccount;
172170
private TransactionRequest transactionRequest;
173171

174172
private FulfillTransactionRequestRequest fulfillTransactionRequestRequest;
@@ -177,10 +175,10 @@ class FulfillTransactionRequestTest {
177175
void setUp() {
178176
fulfillingCustomer = Customer.builder().id(UUID.randomUUID()).build();
179177

180-
fulfillingAccount = Account.builder().id(UUID.randomUUID()).customer(fulfillingCustomer).build();
178+
Account fulfillingAccount = Account.builder().id(UUID.randomUUID()).customer(fulfillingCustomer).build();
181179

182180

183-
targetAccount = Account.builder()
181+
Account targetAccount = Account.builder()
184182
.id(UUID.randomUUID())
185183
.currency(Currency.US_DOLLAR)
186184
.build();

0 commit comments

Comments
 (0)