From f688c90e350fa1c92362c3239a54a1b41cb4d919 Mon Sep 17 00:00:00 2001
From: dseurotech <davide.salvador@eurotech.com>
Date: Tue, 25 Oct 2022 15:42:31 +0200
Subject: [PATCH] :fix: moving reference to existing file. Fixes #3639

Signed-off-by: dseurotech <davide.salvador@eurotech.com>
---
 .../org/eclipse/kapua/commons/util/KapuaFileUtilsTest.java    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/commons/src/test/java/org/eclipse/kapua/commons/util/KapuaFileUtilsTest.java b/commons/src/test/java/org/eclipse/kapua/commons/util/KapuaFileUtilsTest.java
index c108995a3ba..210acd2547b 100644
--- a/commons/src/test/java/org/eclipse/kapua/commons/util/KapuaFileUtilsTest.java
+++ b/commons/src/test/java/org/eclipse/kapua/commons/util/KapuaFileUtilsTest.java
@@ -53,7 +53,9 @@ public void getAsUrlPositiveAndNegativeTest() throws KapuaSettingException, Malf
     //this test is adjusted to method implementation getAsFile().
     //therefore, the method was tested in this way without any assertion only with specific output.
     public void getAsFilePositiveAndNegativeTest() throws IOException, KapuaSettingException {
-        String[] permittedFormats = new String[]{"https://www.w3.org/TR/PNG/iso_8859-1.txt", "http://txt2html.sourceforge.net/sample.txt",
+        String[] permittedFormats = new String[]{
+                "https://opensource.apple.com/source/cups/cups-218/cups/data/iso-8859-1.txt",
+                "http://txt2html.sourceforge.net/sample.txt",
                 "https://www.lipsum.com/"};
         String[] invalidFormats = new String[]{"file:/hostname/path/the%20file.txt", "file://", "http://www.example.com:10800000000000/docs/resource1.html",
                 "/c:/WINDOWS/clock.example", "https://www.w3.org/TR/PNG/iso_88591.txt", "p://txt2html.sourceforge.net/invalidName.txt"};