From 4549fd92024cdadf3277d7cc364f33109ca22b59 Mon Sep 17 00:00:00 2001 From: xg353y Date: Tue, 12 Mar 2019 13:07:46 +0100 Subject: Add UI tests Add test cases for propertyController.js Issue-ID: CLAMP-310 Change-Id: I7ae2cc425d9a7343791bae9ab7704e09389f270a Signed-off-by: xg353y --- .../java/org/onap/clamp/clds/it/AuthorizationControllerItCase.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/test/java/org/onap') diff --git a/src/test/java/org/onap/clamp/clds/it/AuthorizationControllerItCase.java b/src/test/java/org/onap/clamp/clds/it/AuthorizationControllerItCase.java index 477c71a0d..a15c556ed 100644 --- a/src/test/java/org/onap/clamp/clds/it/AuthorizationControllerItCase.java +++ b/src/test/java/org/onap/clamp/clds/it/AuthorizationControllerItCase.java @@ -25,6 +25,7 @@ package org.onap.clamp.clds.it; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; + import com.att.eelf.configuration.EELFLogger; import com.att.eelf.configuration.EELFManager; @@ -85,7 +86,7 @@ public class AuthorizationControllerItCase { Mockito.when(securityContext.getAuthentication()).thenReturn(authentication); PrincipalUtils.setSecurityContext(securityContext); - AuthorizationController auth = new AuthorizationController (); + AuthorizationController auth = new AuthorizationController(); assertTrue(auth.isUserPermittedNoException(new SecureServicePermission("permission-type-cl","dev","read"))); assertTrue(auth.isUserPermittedNoException(new SecureServicePermission("permission-type-cl-manage","dev","DEPLOY"))); assertTrue(auth.isUserPermittedNoException(new SecureServicePermission("permission-type-filter-vf","dev","12345-55555-55555-5555"))); -- cgit 1.2.3-korg