Unit tests are starting to work again ...

This commit is contained in:
jvi
2020-09-08 12:39:39 +02:00
parent d208f12546
commit 9f0b32ff71
8 changed files with 249 additions and 114 deletions

View File

@@ -12,11 +12,13 @@ import org.junit.jupiter.api.extension.ExtendWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.web.server.LocalServerPort;
import org.springframework.context.annotation.Import;
import org.springframework.test.context.TestPropertySource;
import org.springframework.test.context.junit.jupiter.SpringExtension;
import static org.junit.jupiter.api.Assertions.assertEquals;
@ExtendWith(SpringExtension.class)
@TestPropertySource(locations = "/application-integrationtest.yaml")
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, classes = Application.class, properties =
{
"spring.batch.job.enabled=false",

View File

@@ -7,7 +7,8 @@ spring:
max-active: 15
profiles:
### This is the FHIR version. Choose between, dstu2, dstu3, r4 or r5
active: r4
active: dstu2
hapi:
fhir:
#supported_resource_types: