Minor code formatting.

4.x.x
Menaka Jayawardena 7 years ago
parent b1aba20200
commit 52b4b46e7c

@ -69,12 +69,10 @@ public class PermissionManagerServiceTest {
@Test (description = "Create a new permission in the permission tree.")
public void testCreatePermission() {
try {
PowerMockito.mockStatic(PermissionUtils.class);
PowerMockito.when(PermissionUtils.putPermission(permission)).thenReturn(true);
Assert.assertTrue(permissionManagerService.addPermission(permission));
} catch (PermissionManagementException e) {
log.error("Error creating permission " + e.getErrorMessage());
}

Loading…
Cancel
Save