Skip to content

Commit

Permalink
[NOID] Removes load json test, the data is not in the external API an…
Browse files Browse the repository at this point in the history
…ymore (#3302)
  • Loading branch information
ncordon authored Nov 18, 2022
1 parent 4e7fee6 commit 360e4e3
Showing 1 changed file with 0 additions and 9 deletions.
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

0 comments on commit 360e4e3

Please sign in to comment.