Two test fixes

This commit is contained in:
James Agnew 2019-07-04 09:54:26 -04:00
parent 886f3f442b
commit 4f7d4aa8d2
1 changed files with 3 additions and 3 deletions

View File

@ -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) {