Skip to content

Commit

Permalink
LPD-49186 SF
Browse files Browse the repository at this point in the history
  • Loading branch information
brianchandotcom committed Feb 24, 2025
1 parent 3629dbd commit c20b244
Showing 1 changed file with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,13 @@ public class PaymentMethodResourceTest
public void setUp() throws Exception {
super.setUp();

_user = UserTestUtil.addUser(testCompany);

_commerceCurrency = CommerceCurrencyTestUtil.addCommerceCurrency(
testGroup.getCompanyId());

_commerceChannel = CommerceTestUtil.addCommerceChannel(
testGroup.getGroupId(), _commerceCurrency.getCode());

_engineKeys = new ArrayList(
Arrays.asList(
"authorize-net", "mercanet", "money-order", "paypal",
"test-payment-method"));
_user = UserTestUtil.addUser(testCompany);

_serviceContext = ServiceContextTestUtil.getServiceContext(
testCompany.getCompanyId(), testGroup.getGroupId(),
Expand Down Expand Up @@ -249,7 +244,10 @@ private String _getRandomEngineKey() {
@DeleteAfterTestRun
private CPInstance _cpInstance;

private List<String> _engineKeys;
private final List<String> _engineKeys = new ArrayList<>(
Arrays.asList(
"authorize-net", "mercanet", "money-order", "paypal",
"test-payment-method"));
private ServiceContext _serviceContext;

@DeleteAfterTestRun
Expand Down

0 comments on commit c20b244

Please sign in to comment.