Skip to content

Commit e95d1e2

Browse files
authored
@BeforeClass annotation and made setUp() method static
1 parent 2693991 commit e95d1e2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎spring-boot-data-dynamodb/src/test/java/com/baeldung/spring/data/es/repository/ProductInfoRepositoryIntegrationTest.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ public class ProductInfoRepositoryIntegrationTest {
4848
private static final String EXPECTED_COST = "20";
4949
private static final String EXPECTED_PRICE = "50";
5050

51-
@Before
51+
@BeforeClass
5252
@Ignore
53-
public void setUp() throws Exception {
53+
public static void setUp() throws Exception {
5454

5555
try {
5656
dynamoDBMapper = new DynamoDBMapper(amazonDynamoDB);

0 commit comments

Comments
 (0)