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
147
Issues
147
List
Board
Labels
Milestones
Merge Requests
5
Merge Requests
5
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
gargantext
haskell-gargantext
Commits
84ee557d
Verified
Commit
84ee557d
authored
Feb 25, 2025
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[test] small reorganization so tests are similar to sqlite creation
parent
3ddef2f4
Pipeline
#7368
failed with stages
in 60 minutes and 30 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Export.hs
test/Test/API/Export.hs
+2
-2
No files found.
test/Test/API/Export.hs
View file @
84ee557d
...
...
@@ -50,7 +50,7 @@ tests = sequential $ aroundAll withTestDBAndPort $ beforeAllWith dbEnvSetup $ do
-- [S.Only listLen] <- S.query conn "SELECT COUNT(*) FROM lists WHERE id = ?" (S.Only $ unNodeId listId)
-- listLen `shouldBe` (1 :: Int)
[
S
.
Only
docsLen
]
<-
S
.
query_
conn
"SELECT COUNT(*) FROM documents"
docsLen
`
shouldBe
`
(
2
::
Int
)
[
S
.
Only
ngramsLen
]
<-
S
.
query_
conn
"SELECT COUNT(*) FROM ngrams"
ngramsLen
`
shouldBe
`
(
0
::
Int
)
[
S
.
Only
docsLen
]
<-
S
.
query_
conn
"SELECT COUNT(*) FROM documents"
docsLen
`
shouldBe
`
(
2
::
Int
)
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