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