Skip to content

Commit

Permalink
caps
Browse files Browse the repository at this point in the history
  • Loading branch information
kostat committed Aug 28, 2019
1 parent 6e698d4 commit 24423fb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/test/java/co/streamx/fluent/JPA/UserRepositoryTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@

import static org.assertj.core.api.Assertions.assertThat;

import java.util.Collections;
import java.util.HashSet;
import java.util.Set;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;
Expand All @@ -20,6 +22,11 @@ public class UserRepositoryTest extends IntegrationTest implements ElementCollec
@PersistenceContext
private EntityManager em;

@BeforeAll
public static void init() {
FluentJPA.setCapabilities(Collections.emptySet());
}

@Test
@Transactional()
public void test1() {
Expand Down

0 comments on commit 24423fb

Please sign in to comment.