[BAEL-2808] Migrated PostgreSQL tests to LiveTest

This commit is contained in:
dupirefr 2020-04-05 16:16:27 +02:00
parent daab2b383f
commit c73b8dbf72
6 changed files with 6 additions and 6 deletions

View File

@ -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 {
} }

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;