[BAEL-2808] Migrated PostgreSQL tests to LiveTest
This commit is contained in:
parent
daab2b383f
commit
c73b8dbf72
@ -3,5 +3,5 @@ package com.baeldung.namingstrategy;
|
|||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
|
|
||||||
@SpringBootApplication
|
@SpringBootApplication
|
||||||
public class SpringDataJpaTableAndColumnNamesApplication {
|
public class SpringDataJpaNamingConventionApplication {
|
||||||
}
|
}
|
@ -23,7 +23,7 @@ import static org.junit.jupiter.api.Assertions.assertThrows;
|
|||||||
|
|
||||||
@DataJpaTest(excludeAutoConfiguration = TestDatabaseAutoConfiguration.class)
|
@DataJpaTest(excludeAutoConfiguration = TestDatabaseAutoConfiguration.class)
|
||||||
@TestPropertySource("quoted-lower-case-naming-strategy-on-postgres.properties")
|
@TestPropertySource("quoted-lower-case-naming-strategy-on-postgres.properties")
|
||||||
class QuotedLowerCaseNamingStrategyPostgresIntegrationTest {
|
class QuotedLowerCaseNamingStrategyPostgresLiveTest {
|
||||||
|
|
||||||
@PersistenceContext
|
@PersistenceContext
|
||||||
private EntityManager entityManager;
|
private EntityManager entityManager;
|
@ -23,7 +23,7 @@ import static org.junit.jupiter.api.Assertions.assertThrows;
|
|||||||
|
|
||||||
@DataJpaTest(excludeAutoConfiguration = TestDatabaseAutoConfiguration.class)
|
@DataJpaTest(excludeAutoConfiguration = TestDatabaseAutoConfiguration.class)
|
||||||
@TestPropertySource("quoted-upper-case-naming-strategy-on-postgres.properties")
|
@TestPropertySource("quoted-upper-case-naming-strategy-on-postgres.properties")
|
||||||
class QuotedUpperCaseNamingStrategyPostgresIntegrationTest {
|
class QuotedUpperCaseNamingStrategyPostgresLiveTest {
|
||||||
|
|
||||||
@PersistenceContext
|
@PersistenceContext
|
||||||
private EntityManager entityManager;
|
private EntityManager entityManager;
|
@ -23,7 +23,7 @@ import static org.junit.jupiter.api.Assertions.assertThrows;
|
|||||||
|
|
||||||
@DataJpaTest(excludeAutoConfiguration = TestDatabaseAutoConfiguration.class)
|
@DataJpaTest(excludeAutoConfiguration = TestDatabaseAutoConfiguration.class)
|
||||||
@TestPropertySource("spring-physical-naming-strategy-on-postgres.properties")
|
@TestPropertySource("spring-physical-naming-strategy-on-postgres.properties")
|
||||||
class SpringPhysicalNamingStrategyPostgresIntegrationTest {
|
class SpringPhysicalNamingStrategyPostgresLiveTest {
|
||||||
|
|
||||||
@PersistenceContext
|
@PersistenceContext
|
||||||
private EntityManager entityManager;
|
private EntityManager entityManager;
|
@ -23,7 +23,7 @@ import static org.junit.jupiter.api.Assertions.assertThrows;
|
|||||||
|
|
||||||
@DataJpaTest(excludeAutoConfiguration = TestDatabaseAutoConfiguration.class)
|
@DataJpaTest(excludeAutoConfiguration = TestDatabaseAutoConfiguration.class)
|
||||||
@TestPropertySource("unquoted-lower-case-naming-strategy-on-postgres.properties")
|
@TestPropertySource("unquoted-lower-case-naming-strategy-on-postgres.properties")
|
||||||
class UnquotedLowerCaseNamingStrategyPostgresIntegrationTest {
|
class UnquotedLowerCaseNamingStrategyPostgresLiveTest {
|
||||||
|
|
||||||
@PersistenceContext
|
@PersistenceContext
|
||||||
private EntityManager entityManager;
|
private EntityManager entityManager;
|
@ -23,7 +23,7 @@ import static org.junit.jupiter.api.Assertions.assertThrows;
|
|||||||
|
|
||||||
@DataJpaTest(excludeAutoConfiguration = TestDatabaseAutoConfiguration.class)
|
@DataJpaTest(excludeAutoConfiguration = TestDatabaseAutoConfiguration.class)
|
||||||
@TestPropertySource("unquoted-upper-case-naming-strategy-on-postgres.properties")
|
@TestPropertySource("unquoted-upper-case-naming-strategy-on-postgres.properties")
|
||||||
class UnquotedUpperCaseNamingStrategyPostgresIntegrationTest {
|
class UnquotedUpperCaseNamingStrategyPostgresLiveTest {
|
||||||
|
|
||||||
@PersistenceContext
|
@PersistenceContext
|
||||||
private EntityManager entityManager;
|
private EntityManager entityManager;
|
Loading…
x
Reference in New Issue
Block a user