Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Sherman <[email protected]>
  • Loading branch information
bentsherman committed Oct 9, 2023
1 parent 0cfa1b1 commit 69d4975
Showing 1 changed file with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 69d4975

Please sign in to comment.