Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
benfortuna committed Jun 28, 2021
1 parent c452483 commit cc9cfa4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Expand Up @@ -35,6 +35,6 @@ END:VCALENDAR\r
Calendar calendar = builder.build(new StringReader(calendarString))

then: 'a valid calendar is realised'
calendar?.components[0].properties[0].getParameter('DISPLAY').value == 'BADGE,THUMBNAIL'
calendar?.components.all[0].properties.all[0].parameters.getRequired('DISPLAY').value == 'BADGE,THUMBNAIL'
}
}
Expand Up @@ -35,6 +35,6 @@ END:VCALENDAR
Calendar calendar = builder.build(new StringReader(calendarString))

then: 'a valid calendar is realised'
calendar?.components[0].properties[0].getParameter('EMAIL').value == 'cyrus@example.com'
calendar?.components.all[0].properties.all[0].parameters.getRequired('EMAIL').value == 'cyrus@example.com'
}
}
Expand Up @@ -42,6 +42,6 @@ END:VCALENDAR
Calendar calendar = builder.build(new StringReader(calendarString))

then: 'a valid calendar is realised'
calendar?.components[0].properties[0].getParameter('FEATURE').value == 'AUDIO'
calendar?.components.all[0].properties.all[0].parameters.getRequired('FEATURE').value == 'AUDIO'
}
}
Expand Up @@ -34,6 +34,6 @@ END:VCALENDAR
Calendar calendar = builder.build(new StringReader(calendarString))

then: 'a valid calendar is realised'
calendar?.components[0].properties[0].getParameter('LABEL').value == 'Web video chat, access code=76543'
calendar?.components.all[0].properties.all[0].parameters.getRequired('LABEL').value == 'Web video chat, access code=76543'
}
}

0 comments on commit cc9cfa4

Please sign in to comment.