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 Sep 29, 2023
1 parent 9cd8a0d commit 99c43ef
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ class ProvObserverFactoryTest extends Specification {

def 'should return observer' () {
when:
def result = new ProvObserverFactory().create(Mock(Session))
def session = Spy(Session)
def result = new ProvObserverFactory().create(session)
then:
result.size()==1
result[0] instanceof ProvObserver
Expand Down

0 comments on commit 99c43ef

Please sign in to comment.