Add comment to test method making clear its dubious value. (#5782)
This commit is contained in:
parent
fc4c31a779
commit
ba5311d4cc
|
@ -2589,6 +2589,9 @@ public class AuthorizationInterceptorR4Test extends BaseValidationTestWithInline
|
||||||
assertEquals(false, ourHitMethod);
|
assertEquals(false, ourHitMethod);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// This test is of dubious value since it does NOT exercise DAO code. It simply exercises the AuthorizationInterceptor.
|
||||||
|
// In functional testing or with a more realistic integration test, this scenario, namely having ONLY a FHIR_PATCH
|
||||||
|
// role, will result in a failure to update the resource.
|
||||||
@Test
|
@Test
|
||||||
public void testPatchAllowed() throws IOException {
|
public void testPatchAllowed() throws IOException {
|
||||||
Observation obs = new Observation();
|
Observation obs = new Observation();
|
||||||
|
|
Loading…
Reference in New Issue