aboutsummaryrefslogtreecommitdiffstats
path: root/certServiceClient/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'certServiceClient/src/test')
-rw-r--r--certServiceClient/src/test/java/org/onap/oom/certservice/client/configuration/validation/UriValidatorTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/certServiceClient/src/test/java/org/onap/oom/certservice/client/configuration/validation/UriValidatorTest.java b/certServiceClient/src/test/java/org/onap/oom/certservice/client/configuration/validation/UriValidatorTest.java
index ed358b6f..d7024d4e 100644
--- a/certServiceClient/src/test/java/org/onap/oom/certservice/client/configuration/validation/UriValidatorTest.java
+++ b/certServiceClient/src/test/java/org/onap/oom/certservice/client/configuration/validation/UriValidatorTest.java
@@ -32,7 +32,7 @@ class UriValidatorTest {
*/
@ParameterizedTest
- @ValueSource(strings = {"http:/", "http:", "http://"})
+ @ValueSource(strings = {"http:/", "http:", "http://", "h4ttp://"})
void shouldTrueForValidScheme(String uri) {
assertThat(UriValidator.isValidUri(uri)).isTrue();
}
@@ -44,7 +44,7 @@ class UriValidatorTest {
}
@ParameterizedTest
- @ValueSource(strings = {"*http://", "_http://", "?http://"})
+ @ValueSource(strings = {"*http://", "_http://", "?http://", "4http://"})
void shouldFalseForUriWithInvalidScheme(String uri) {
assertThat(UriValidator.isValidUri(uri)).isFalse();
}