More test fixes

This commit is contained in:
James Agnew 2019-07-07 13:35:39 -04:00
parent 73daec633f
commit d00304d706
3 changed files with 11 additions and 3 deletions

View File

@ -38,7 +38,7 @@ import org.springframework.beans.factory.annotation.Required;
import javax.servlet.http.HttpServletRequest;
import java.util.Date;
public class BaseJpaSystemProvider<T, MT> extends BaseJpaProvider {
public class BaseJpaSystemProvider<T, MT> extends BaseJpaProvider implements IJpaSystemProvider {
public static final String MARK_ALL_RESOURCES_FOR_REINDEXING = "$mark-all-resources-for-reindexing";
public static final String PERFORM_REINDEXING_PASS = "$perform-reindexing-pass";

View File

@ -0,0 +1,8 @@
package ca.uhn.fhir.jpa.provider;
/**
* Marker interface for the JPA system provider
*/
public interface IJpaSystemProvider {
// nothing for now
}

View File

@ -47,9 +47,9 @@ public class OperationDuplicateServerHl7OrgDstu2Test {
ourLog.info(response);
Conformance resp = ourCtx.newXmlParser().parseResource(Conformance.class, response);
assertEquals(1, resp.getRest().get(0).getOperation().size());
assertEquals(3, resp.getRest().get(0).getOperation().size());
assertEquals("$myoperation", resp.getRest().get(0).getOperation().get(0).getName());
assertEquals("OperationDefinition/myoperation", resp.getRest().get(0).getOperation().get(0).getDefinition().getReference());
assertEquals("OperationDefinition/-s-myoperation", resp.getRest().get(0).getOperation().get(0).getDefinition().getReference());
}
// OperationDefinition