[tests] more fixes to updatelist

parent 55dae112
...@@ -133,7 +133,8 @@ tests = sequential $ aroundAll withTestDBAndPort $ do ...@@ -133,7 +133,8 @@ tests = sequential $ aroundAll withTestDBAndPort $ do
"list": "MapTerm", "list": "MapTerm",
"occurrences": [], "occurrences": [],
"children": [], "children": [],
"root": null "root": null,
"parent": null
} }
] ]
} |] } |]
...@@ -176,7 +177,8 @@ tests = sequential $ aroundAll withTestDBAndPort $ do ...@@ -176,7 +177,8 @@ tests = sequential $ aroundAll withTestDBAndPort $ do
,"list":"MapTerm" ,"list":"MapTerm"
,"occurrences":[] ,"occurrences":[]
,"children":[] ,"children":[]
,"root": null} ,"root": null
,"parent": null}
] ]
} |] } |]
let getStopUrl = "/node/" +| listId |+ "/ngrams?ngramsType=Terms&listType=StopTerm&list="+| listId |+"&limit=50" let getStopUrl = "/node/" +| listId |+ "/ngrams?ngramsType=Terms&listType=StopTerm&list="+| listId |+"&limit=50"
...@@ -187,7 +189,10 @@ tests = sequential $ aroundAll withTestDBAndPort $ do ...@@ -187,7 +189,10 @@ tests = sequential $ aroundAll withTestDBAndPort $ do
{"ngrams":"brazorf" {"ngrams":"brazorf"
,"size":1 ,"size":1
,"list":"StopTerm" ,"list":"StopTerm"
,"occurrences":[],"children":[]} ,"occurrences":[]
,"children":[]
,"root":null
,"parent":null}
] ]
} |] } |]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment