From 888fbf8fe3ba2990f8c63a863d8f2a3d96f63c59 Mon Sep 17 00:00:00 2001 From: Valentyn Kolesnikov Date: Mon, 25 Aug 2025 09:53:30 +0300 Subject: [PATCH] Fixed test fetchGetHttps() --- src/test/java/com/github/underscore/LodashTest.java | 3 ++- src/test/resources/example.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/test/java/com/github/underscore/LodashTest.java b/src/test/java/com/github/underscore/LodashTest.java index aed5e8b6..69cc2e09 100644 --- a/src/test/java/com/github/underscore/LodashTest.java +++ b/src/test/java/com/github/underscore/LodashTest.java @@ -691,7 +691,8 @@ void fetchResponseBlob() { void fetchGetHttps() { U.FetchResponse result = U.fetch( - "https://support.oneskyapp.com/hc/en-us/article_attachments/202761627/example_1.json"); + "https://raw.githubusercontent.com/javadev/underscore-java/refs/heads/" + + "main/src/test/resources/example.json"); assertEquals( "{\n" + " \"fruit\": \"Apple\",\n" diff --git a/src/test/resources/example.json b/src/test/resources/example.json index 3bb802a1..aa90c977 100644 --- a/src/test/resources/example.json +++ b/src/test/resources/example.json @@ -2,4 +2,4 @@ "fruit": "Apple", "size": "Large", "color": "Red" -} +} \ No newline at end of file