feat(back-end): integration of clamAVS
This commit is contained in:
@@ -29,6 +29,7 @@ dependencies {
|
|||||||
runtimeOnly 'org.postgresql:postgresql'
|
runtimeOnly 'org.postgresql:postgresql'
|
||||||
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
||||||
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
||||||
|
testRuntimeOnly 'com.h2database:h2'
|
||||||
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
||||||
compileOnly 'org.projectlombok:lombok'
|
compileOnly 'org.projectlombok:lombok'
|
||||||
annotationProcessor 'org.projectlombok:lombok'
|
annotationProcessor 'org.projectlombok:lombok'
|
||||||
|
|||||||
@@ -38,6 +38,14 @@ import static org.mockito.Mockito.when;
|
|||||||
|
|
||||||
@SpringBootTest
|
@SpringBootTest
|
||||||
@AutoConfigureMockMvc
|
@AutoConfigureMockMvc
|
||||||
|
@org.springframework.test.context.TestPropertySource(properties = {
|
||||||
|
"spring.datasource.url=jdbc:h2:mem:testdb;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE;MODE=PostgreSQL",
|
||||||
|
"spring.datasource.driverClassName=org.h2.Driver",
|
||||||
|
"spring.datasource.username=sa",
|
||||||
|
"spring.datasource.password=",
|
||||||
|
"spring.jpa.database-platform=org.hibernate.dialect.H2Dialect",
|
||||||
|
"spring.jpa.hibernate.ddl-auto=create-drop"
|
||||||
|
})
|
||||||
class OrderIntegrationTest {
|
class OrderIntegrationTest {
|
||||||
|
|
||||||
@MockBean
|
@MockBean
|
||||||
|
|||||||
Reference in New Issue
Block a user