DaanHoogland commented on code in PR #10482:
URL: https://github.com/apache/cloudstack/pull/10482#discussion_r1979646781


##########
utils/src/test/java/com/cloud/utils/UriUtilsTest.java:
##########
@@ -276,8 +276,8 @@ public void testIsUrlForCompressedFile() {
 
     @Test
     public void validateUrl() {
-        Pair<String, Integer> url1 = 
UriUtils.validateUrl("https://www.cloudstack.org";);
-        Assert.assertEquals(url1.first(), "www.cloudstack.org");
+        Pair<String, Integer> url1 = 
UriUtils.validateUrl("https://www.cloudstack.apache.org/";);
+        Assert.assertEquals(url1.first(), "www.cloudstack.apache.org");

Review Comment:
   to be completely realistic:
   
   ```suggestion
           Pair<String, Integer> url1 = 
UriUtils.validateUrl("https://cloudstack.apache.org/";);
           Assert.assertEquals(url1.first(), "cloudstack.apache.org");
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to