From db784313b8ba29f5d4396c1cc96bb5f3c853677f Mon Sep 17 00:00:00 2001 From: Ram Krishna Verma Date: Fri, 27 Aug 2021 16:11:39 -0400 Subject: Fix sonar issues in policy/gui Issue-ID: POLICY-3077 Change-Id: Idcd08427cbff2cfdd8ba99db7cf32a0f5c978415 Signed-off-by: Ram Krishna Verma --- .../policy/gui/editors/apex/rest/ApexEditorParametersTest.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'gui-editors/gui-editor-apex/src/test') diff --git a/gui-editors/gui-editor-apex/src/test/java/org/onap/policy/gui/editors/apex/rest/ApexEditorParametersTest.java b/gui-editors/gui-editor-apex/src/test/java/org/onap/policy/gui/editors/apex/rest/ApexEditorParametersTest.java index 9201983..88e2707 100644 --- a/gui-editors/gui-editor-apex/src/test/java/org/onap/policy/gui/editors/apex/rest/ApexEditorParametersTest.java +++ b/gui-editors/gui-editor-apex/src/test/java/org/onap/policy/gui/editors/apex/rest/ApexEditorParametersTest.java @@ -1,6 +1,7 @@ /*- * ============LICENSE_START======================================================= * Copyright (C) 2021 Nordix Foundation. + * Modifications Copyright (C) 2021 Bell Canada. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -33,9 +34,9 @@ public class ApexEditorParametersTest { apexEditorParameters.setRestPort(-3); apexEditorParameters.setUploadUrl("what://ever"); final var actual = apexEditorParameters.validate(); - assertThat(actual).contains("upload-url parameter is an invalid"); - assertThat(actual).contains("upload-userid parameter must be specified"); - assertThat(actual).contains("port must be between"); - assertThat(actual).contains("time to live must be greater than -1"); + assertThat(actual).contains("upload-url parameter is an invalid") + .contains("upload-userid parameter must be specified") + .contains("port must be between") + .contains("time to live must be greater than -1"); } } -- cgit 1.2.3-korg