tests: use remove settings file

This commit is contained in:
Moritz E. Beber 2022-05-11 14:13:50 +02:00
parent e4551a9ab3
commit a83dd33a7e

View file

@ -7,8 +7,8 @@ include { SRATOOLS_NCBISETTINGS } from '../../../../modules/sratools/ncbisetting
workflow test_sratools_ncbisettings_with_good_existing {
file(params.settings_path).mkdirs()
def settings = file(params.settings_file)
settings.text = "/LIBS/GUID = \"5b0d4b7d-88c7-4802-98fd-e3afd06feb32\"\n/libs/cloud/report_instance_identity = \"true\"\n"
def settings = file(params.test_data['generic']['config']['ncbi_user_settings'], checkIfExists: true)
settings.copyTo(params.settings_file)
SRATOOLS_NCBISETTINGS()
}