From 5fd2db1e9c0151aa7771735331f9d74ec41bd80b Mon Sep 17 00:00:00 2001 From: Max Cummins Date: Mon, 16 Sep 2024 12:02:13 +0930 Subject: [PATCH] add main.nf.test.snap and update main.nf.test as per pull request #6636 --- modules/nf-core/shigapass/tests/main.nf.test | 8 +--- .../nf-core/shigapass/tests/main.nf.test.snap | 44 ++++++++++++++----- 2 files changed, 35 insertions(+), 17 deletions(-) diff --git a/modules/nf-core/shigapass/tests/main.nf.test b/modules/nf-core/shigapass/tests/main.nf.test index 2e4044a8333f..e68e454190fe 100644 --- a/modules/nf-core/shigapass/tests/main.nf.test +++ b/modules/nf-core/shigapass/tests/main.nf.test @@ -10,9 +10,6 @@ nextflow_process { test("candidatus_portiera_aleyrodidarum - genome.fasta") { when { - params { - outdir = "$outputDir" - } process { """ input[0] = [ @@ -36,9 +33,6 @@ nextflow_process { options "-stub" when { - params { - outdir = "$outputDir" - } process { """ input[0] = [ @@ -58,4 +52,4 @@ nextflow_process { } -} +} \ No newline at end of file diff --git a/modules/nf-core/shigapass/tests/main.nf.test.snap b/modules/nf-core/shigapass/tests/main.nf.test.snap index 4b1f311904dc..15409e2ac394 100644 --- a/modules/nf-core/shigapass/tests/main.nf.test.snap +++ b/modules/nf-core/shigapass/tests/main.nf.test.snap @@ -3,16 +3,28 @@ "content": [ { "0": [ - + [ + { + "id": "test", + "single_end": false + }, + "test.csv:md5,d41d8cd98f00b204e9800998ecf8427e" + ] ], "1": [ - + "versions.yml:md5,cbfa0021091852d8fa9a1ce14f95b669" ], "report": [ - + [ + { + "id": "test", + "single_end": false + }, + "test.csv:md5,d41d8cd98f00b204e9800998ecf8427e" + ] ], "versions": [ - + "versions.yml:md5,cbfa0021091852d8fa9a1ce14f95b669" ] } ], @@ -20,22 +32,34 @@ "nf-test": "0.9.0", "nextflow": "24.04.4" }, - "timestamp": "2024-09-13T11:41:51.692438" + "timestamp": "2024-09-16T12:00:38.954924" }, "candidatus_portiera_aleyrodidarum - genome.fasta": { "content": [ { "0": [ - + [ + { + "id": "test", + "single_end": false + }, + "test.csv:md5,7bfae0e8ac3429194b3c1c2addd2e1ea" + ] ], "1": [ - + "versions.yml:md5,cbfa0021091852d8fa9a1ce14f95b669" ], "report": [ - + [ + { + "id": "test", + "single_end": false + }, + "test.csv:md5,7bfae0e8ac3429194b3c1c2addd2e1ea" + ] ], "versions": [ - + "versions.yml:md5,cbfa0021091852d8fa9a1ce14f95b669" ] } ], @@ -43,6 +67,6 @@ "nf-test": "0.9.0", "nextflow": "24.04.4" }, - "timestamp": "2024-09-13T11:41:48.121725" + "timestamp": "2024-09-16T12:00:24.613691" } } \ No newline at end of file