aboutsummaryrefslogtreecommitdiffstats
path: root/pnfsimulator
diff options
context:
space:
mode:
Diffstat (limited to 'pnfsimulator')
-rw-r--r--pnfsimulator/src/test/java/org/onap/pnfsimulator/simulator/client/utils/ssl/SslSupportLevelTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/pnfsimulator/src/test/java/org/onap/pnfsimulator/simulator/client/utils/ssl/SslSupportLevelTest.java b/pnfsimulator/src/test/java/org/onap/pnfsimulator/simulator/client/utils/ssl/SslSupportLevelTest.java
index ff41c44..3a7dbf2 100644
--- a/pnfsimulator/src/test/java/org/onap/pnfsimulator/simulator/client/utils/ssl/SslSupportLevelTest.java
+++ b/pnfsimulator/src/test/java/org/onap/pnfsimulator/simulator/client/utils/ssl/SslSupportLevelTest.java
@@ -35,17 +35,17 @@ class SslSupportLevelTest {
@Test
void testShouldReturnAlwaysTrustSupportLevelForHttpsUrl() throws MalformedURLException {
SslSupportLevel actualSupportLevel = SslSupportLevel.getSupportLevelBasedOnProtocol(HTTPS_URL);
- assertEquals(actualSupportLevel, SslSupportLevel.ALWAYS_TRUST);
+ assertEquals(SslSupportLevel.ALWAYS_TRUST, actualSupportLevel);
}
@Test
void testShouldReturnNoneSupportLevelForHttpUrl() throws MalformedURLException {
SslSupportLevel actualSupportLevel = SslSupportLevel.getSupportLevelBasedOnProtocol(HTTP_URL);
- assertEquals(actualSupportLevel, SslSupportLevel.NONE);
+ assertEquals(SslSupportLevel.NONE, actualSupportLevel);
}
@Test
- void testShouldRaiseExceptionWhenInvalidUrlPassed(){
+ void testShouldRaiseExceptionWhenInvalidUrlPassed() {
assertThrows(MalformedURLException.class, () -> SslSupportLevel.getSupportLevelBasedOnProtocol("http://bla:VES-PORT/"));
}