File tree Expand file tree Collapse file tree
src/test/java/dev/maddock/sprank/service/impl Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ();
You can’t perform that action at this time.
0 commit comments