Test fix
This commit is contained in:
parent
6ebcceeb5c
commit
b650fdb9ea
|
@ -85,6 +85,8 @@ public class SubscriptionValidatingInterceptorTest {
|
|||
|
||||
@Test
|
||||
public void testValidate_RestHook_NoEndpoint() {
|
||||
when(myDaoRegistry.isResourceTypeSupported(eq("Patient"))).thenReturn(true);
|
||||
|
||||
Subscription subscription = new Subscription();
|
||||
subscription.setStatus(Subscription.SubscriptionStatus.ACTIVE);
|
||||
subscription.setCriteria("Patient?identifier=foo");
|
||||
|
@ -102,6 +104,8 @@ public class SubscriptionValidatingInterceptorTest {
|
|||
|
||||
@Test
|
||||
public void testValidate_RestHook_NoType() {
|
||||
when(myDaoRegistry.isResourceTypeSupported(eq("Patient"))).thenReturn(true);
|
||||
|
||||
Subscription subscription = new Subscription();
|
||||
subscription.setStatus(Subscription.SubscriptionStatus.ACTIVE);
|
||||
subscription.setCriteria("Patient?identifier=foo");
|
||||
|
|
Loading…
Reference in New Issue