Skip to content

Commit

Permalink
MARP-2115 Fix test failed
Browse files Browse the repository at this point in the history
  • Loading branch information
quanpham-axonivy committed Mar 3, 2025
1 parent 09e2345 commit c5e69f2
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package com.axonivy.connector.stripe.test;

import static org.junit.jupiter.api.Assertions.assertNotNull;

import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.TestTemplate;
import org.junit.jupiter.api.extension.ExtendWith;
Expand Down Expand Up @@ -28,8 +30,8 @@ public class PaymentServiceTest {
private static final String LOG_IN =
"/stripe-connector-test/1946E968E7BAB355/logInUser.ivp?username=Developer&password=Developer";

@BeforeEach
void setup(AppFixture appFixture) {
@BeforeAll
static void setup(AppFixture appFixture) {
StripeUtils.setUpConfigForApiTest(appFixture);
ChromeOptions options = new ChromeOptions();
options.addArguments("--headless"); // Run in headless mode (no GUI)
Expand Down

0 comments on commit c5e69f2

Please sign in to comment.