WIP bump HAPI

This commit is contained in:
dotasek
2024-06-17 17:10:10 -04:00
parent 422d200f6e
commit 8f731a29ee
7 changed files with 54 additions and 44 deletions

View File

@@ -2,6 +2,7 @@ package ca.uhn.fhir.jpa.starter;
import static org.assertj.core.api.Assertions.assertThat;
import ca.uhn.fhir.jpa.model.config.SubscriptionSettings;
import org.hl7.fhir.dstu2.model.Subscription.SubscriptionChannelType;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
@@ -21,9 +22,12 @@ class MdmTest {
@Autowired
JpaStorageSettings jpaStorageSettings;
@Autowired
SubscriptionSettings subscriptionSettings;
@Test
void testApplicationStartedSuccessfully() {
assertThat(nicknameService).isNotNull();
assertThat(jpaStorageSettings.getSupportedSubscriptionTypes()).contains(SubscriptionChannelType.MESSAGE);
assertThat(subscriptionSettings.getSupportedSubscriptionTypes()).contains(SubscriptionChannelType.MESSAGE);
}
}