Two test fixes
This commit is contained in:
parent
886f3f442b
commit
4f7d4aa8d2
|
@ -456,7 +456,7 @@ public class AuthorizationInterceptorResourceProviderR4Test extends BaseResource
|
|||
ourClient
|
||||
.delete()
|
||||
.resourceById(patientId)
|
||||
.withAdditionalHeader(Constants.HEADER_CASCADE, "true")
|
||||
.withAdditionalHeader(Constants.HEADER_CASCADE, Constants.CASCADE_DELETE)
|
||||
.execute();
|
||||
fail();
|
||||
} catch (ForbiddenOperationException e) {
|
||||
|
@ -500,7 +500,7 @@ public class AuthorizationInterceptorResourceProviderR4Test extends BaseResource
|
|||
ourClient
|
||||
.delete()
|
||||
.resourceById(patientId)
|
||||
.withAdditionalHeader(Constants.HEADER_CASCADE, "true")
|
||||
.withAdditionalHeader(Constants.HEADER_CASCADE, Constants.CASCADE_DELETE)
|
||||
.execute();
|
||||
|
||||
} finally {
|
||||
|
@ -541,7 +541,7 @@ public class AuthorizationInterceptorResourceProviderR4Test extends BaseResource
|
|||
ourClient
|
||||
.delete()
|
||||
.resourceById(patientId)
|
||||
.withAdditionalHeader(Constants.HEADER_CASCADE, "true")
|
||||
.withAdditionalHeader(Constants.HEADER_CASCADE, Constants.CASCADE_DELETE)
|
||||
.execute();
|
||||
fail();
|
||||
} catch (ForbiddenOperationException e) {
|
||||
|
|
Loading…
Reference in New Issue