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