diff --git a/plugins/nf-prov/src/test/nextflow/prov/ProvObserverFactoryTest.groovy b/plugins/nf-prov/src/test/nextflow/prov/ProvObserverFactoryTest.groovy index b92a4dc..af8cbde 100644 --- a/plugins/nf-prov/src/test/nextflow/prov/ProvObserverFactoryTest.groovy +++ b/plugins/nf-prov/src/test/nextflow/prov/ProvObserverFactoryTest.groovy @@ -27,7 +27,18 @@ class ProvObserverFactoryTest extends Specification { def 'should return observer' () { when: - def session = Spy(Session) + def config = [ + prov: [ + formats: [ + legacy: [ + file: 'manifest.json' + ] + ] + ] + ] + def session = Spy(Session) { + getConfig() >> config + } def result = new ProvObserverFactory().create(session) then: result.size()==1