Skip to content

Commit

Permalink
[BE]TEST: TestDisable
Browse files Browse the repository at this point in the history
  • Loading branch information
enaenen committed Sep 26, 2023
1 parent fa8c00e commit f7823d1
Showing 1 changed file with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,24 @@
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import org.ftclub.cabinet.cabinet.domain.Cabinet;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.transaction.annotation.Transactional;

@SpringBootTest
@Transactional
@Disabled
class CabinetApplicationTests {

@PersistenceContext
EntityManager em;
@PersistenceContext
EntityManager em;

@Test
void healthcheck() {
em.createQuery("select c from Cabinet c", Cabinet.class)
.getResultList()
.forEach(System.out::println);
}
@Test
void healthcheck() {
em.createQuery("select c from Cabinet c", Cabinet.class)
.getResultList()
.forEach(System.out::println);
}

}

0 comments on commit f7823d1

Please sign in to comment.