mirror of
https://github.com/hapifhir/hapi-fhir.git
synced 2025-02-16 09:55:09 +00:00
Fix static code analysis warning
This commit is contained in:
parent
04e33050e8
commit
05f48705a3
@ -57,23 +57,6 @@ public class SubscriptionSubmitInterceptorLoaderTest {
|
||||
@Configuration
|
||||
public static class MyConfig {
|
||||
|
||||
@Bean
|
||||
public FhirContext fhirContext() {
|
||||
return FhirContext.forR4();
|
||||
}
|
||||
|
||||
@Bean
|
||||
public PartitionSettings partitionSettings() {
|
||||
return new PartitionSettings();
|
||||
}
|
||||
|
||||
@Bean
|
||||
public JpaStorageSettings storageSettings() {
|
||||
JpaStorageSettings storageSettings = new JpaStorageSettings();
|
||||
storageSettings.addSupportedSubscriptionType(Subscription.SubscriptionChannelType.RESTHOOK);
|
||||
return storageSettings;
|
||||
}
|
||||
|
||||
@MockBean
|
||||
private ISearchParamProvider mySearchParamProvider;
|
||||
@MockBean
|
||||
@ -94,6 +77,23 @@ public class SubscriptionSubmitInterceptorLoaderTest {
|
||||
private IHapiTransactionService myHapiTransactionService;
|
||||
@MockBean
|
||||
private ResourceIndexHasher myResourceIndexHasher;
|
||||
|
||||
@Bean
|
||||
public FhirContext fhirContext() {
|
||||
return FhirContext.forR4();
|
||||
}
|
||||
|
||||
@Bean
|
||||
public PartitionSettings partitionSettings() {
|
||||
return new PartitionSettings();
|
||||
}
|
||||
|
||||
@Bean
|
||||
public JpaStorageSettings storageSettings() {
|
||||
JpaStorageSettings storageSettings = new JpaStorageSettings();
|
||||
storageSettings.addSupportedSubscriptionType(Subscription.SubscriptionChannelType.RESTHOOK);
|
||||
return storageSettings;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user