Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
rannick committed Dec 10, 2024
1 parent 18ab239 commit 2e928ed
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 14 deletions.
5 changes: 2 additions & 3 deletions modules/local/fusionreport/detect/tests/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ nextflow_process {
file("https://github.com/Clinical-Genomics/fusion-report/raw/master/tests/test_data/fusioncatcher.txt")
]
input[1] = FUSIONREPORT_DOWNLOAD.out.fusionreport_db
input[1] = FUSIONREPORT_DOWNLOAD.out.fusionreport_ref
input[2] = 1
"""
}
Expand Down Expand Up @@ -91,7 +90,7 @@ nextflow_process {
file("https://github.com/Clinical-Genomics/fusion-report/raw/master/tests/test_data/fusioncatcher.txt")
]
input[1] = FUSIONREPORT_DOWNLOAD.out.fusionreport_db
input[1] = FUSIONREPORT_DOWNLOAD.out.fusionreport_ref
input[2] = 1
"""
Expand Down
6 changes: 3 additions & 3 deletions modules/local/fusionreport/detect/tests/main.nf.test.snap
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"content": [
{
"0": [
"versions.yml:md5,6bd28f2526774f519a7627a30c6a7f2f"
"versions.yml:md5,8cabeb934dbeb51399427d83c57bf1b4"
],
"1": [
[
Expand Down Expand Up @@ -173,14 +173,14 @@
]
],
"versions": [
"versions.yml:md5,6bd28f2526774f519a7627a30c6a7f2f"
"versions.yml:md5,8cabeb934dbeb51399427d83c57bf1b4"
]
}
],
"meta": {
"nf-test": "0.9.0",
"nextflow": "24.10.2"
},
"timestamp": "2024-12-06T13:12:32.981394201"
"timestamp": "2024-12-10T14:55:14.475834"
}
}
8 changes: 4 additions & 4 deletions modules/local/fusionreport/download/tests/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ nextflow_process {
assertAll(
{ assert process.success },
{ assert snapshot(
path(process.out.fusionreport_db[0][1]).resolve("fusiongdb2.db"),
path(process.out.fusionreport_db[0][1]).resolve("mitelman.db"),
path(process.out.fusionreport_db[0][1]).resolve("DB-timestamp.txt").exists(),
path(process.out.fusionreport_db[0][1]).resolve("fusion_report.log").exists(),
path(process.out.fusionreport_ref[0][1]).resolve("fusiongdb2.db"),
path(process.out.fusionreport_ref[0][1]).resolve("mitelman.db"),
path(process.out.fusionreport_ref[0][1]).resolve("DB-timestamp.txt").exists(),
path(process.out.fusionreport_ref[0][1]).resolve("fusion_report.log").exists(),
process.out.versions
).match() }
)
Expand Down
8 changes: 4 additions & 4 deletions modules/local/fusionreport/download/tests/main.nf.test.snap
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"0": [
[
{
"id": "fusionreport_dbs"
"id": "fusion_report_db"
},
[
"DB-timestamp.txt:md5,d41d8cd98f00b204e9800998ecf8427e",
Expand All @@ -35,10 +35,10 @@
"1": [
"versions.yml:md5,fa5f13c563f431912048c1802b5a0c74"
],
"fusionreport_db": [
"fusion_report_db": [
[
{
"id": "fusionreport_dbs"
"id": "fusion_report_db"
},
[
"DB-timestamp.txt:md5,d41d8cd98f00b204e9800998ecf8427e",
Expand All @@ -60,4 +60,4 @@
},
"timestamp": "2024-12-05T19:35:49.629287874"
}
}
}

0 comments on commit 2e928ed

Please sign in to comment.