Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NOID] Removes load json test, the data is not in the external API anymore #3302

Merged
merged 1 commit into from
Nov 18, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions core/src/test/java/apoc/load/LoadJsonTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -179,15 +179,6 @@ public void testLoadJsonWithPathOptions() throws Exception {
assertEquals(map("foo",asList(1L,2L,3L)), row.get("value"));
});
}
@Test @Ignore public void testLoadJsonGraphCommons() throws Exception {
String url = "https://graphcommons.com/graphs/8da5327d-7829-4dfe-b60b-4c0bda956b2a.json";
testCall(db, "CALL apoc.load.json($url)",map("url", url), // 'file:map.json' YIELD value RETURN value
(row) -> {
Map value = (Map)row.get("value");
assertEquals(true, value.containsKey("users"));
assertEquals(true, value.containsKey("nodes"));
});
}

@Test public void testLoadJsonStackOverflow() throws Exception {
String url = "https://api.stackexchange.com/2.2/questions?pagesize=10&order=desc&sort=creation&tagged=neo4j&site=stackoverflow&filter=!5-i6Zw8Y)4W7vpy91PMYsKM-k9yzEsSC1_Uxlf";
Expand Down