Skip to content

Commit

Permalink
Fix notification test where execution is not being created
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseOrtiz committed May 24, 2024
1 parent 6961317 commit efe4381
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1281,11 +1281,13 @@ class NotificationServiceSpec extends Specification implements ServiceUnitTest<N
[adhocRemoteString: 'test buddy', argString: '-delay 12 -monkey cheese -particle']
)]
).save(flush:true),
notifications : [
new Notification(
eventTrigger: 'onstart',
type: 'SimpleNotificationPlugin'
)]
notifications : []
)
job.save(flush:true)
def notification = new Notification(
eventTrigger: 'onstart',
type: 'SimpleNotificationPlugin',
scheduledExecution: job
).save(flush:true)
def execution = new Execution(
uuid: 'exec1',
Expand Down

0 comments on commit efe4381

Please sign in to comment.