Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Christian Merten
haskell-gargantext
Commits
a304d123
Verified
Commit
a304d123
authored
Dec 07, 2023
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[tests] more fixes to updatelist
parent
55dae112
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
UpdateList.hs
test/Test/API/UpdateList.hs
+8
-3
No files found.
test/Test/API/UpdateList.hs
View file @
a304d123
...
@@ -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}
]
]
}
|]
}
|]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment