Skip to content

Commit c1653b7

Browse files
authored
Fixed fetch test
1 parent b6c9520 commit c1653b7

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/test/java/com/github/underscore/LodashTest.java

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -687,15 +687,14 @@ void fetchResponseBlob() {
687687

688688
@Test
689689
void fetchGetHttps() {
690-
U.FetchResponse result = U.fetch("https://api.lob.com/v1/addresses");
690+
U.FetchResponse result =
691+
U.fetch("https://support.oneskyapp.com/hc/en-us/article_attachments/202761627/example_1.json");
691692
assertEquals(
692693
"{\n"
693-
+ " \"error\": {\n"
694-
+ " \"message\": \"Missing authentication\",\n"
695-
+ " \"status_code\": 401,\n"
696-
+ " \"code\": \"unauthorized\"\n"
697-
+ " }\n"
698-
+ "}",
694+
+ " \"fruit\": \"Apple\",\n"
695+
+ " \"size\": \"Large\",\n"
696+
+ " \"color\": \"Red\"\n"
697+
+ "}",
699698
result.text());
700699
}
701700

0 commit comments

Comments
 (0)