diff options
author | Ram Krishna Verma <ram_krishna.verma@bell.ca> | 2021-08-27 16:11:39 -0400 |
---|---|---|
committer | Ram Krishna Verma <ram_krishna.verma@bell.ca> | 2021-08-27 17:28:40 -0400 |
commit | db784313b8ba29f5d4396c1cc96bb5f3c853677f (patch) | |
tree | f26c260919b39751747ad64e87b1a7932c222046 /gui-editors/gui-editor-apex/src/test | |
parent | bcca60b3c9e50e93a0f309905049ddbbf45768ef (diff) |
Fix sonar issues in policy/gui
Issue-ID: POLICY-3077
Change-Id: Idcd08427cbff2cfdd8ba99db7cf32a0f5c978415
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
Diffstat (limited to 'gui-editors/gui-editor-apex/src/test')
-rw-r--r-- | gui-editors/gui-editor-apex/src/test/java/org/onap/policy/gui/editors/apex/rest/ApexEditorParametersTest.java | 9 |
1 files changed, 5 insertions, 4 deletions
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"); } } |