Skip to content

Commit c6c972e

Browse files
committed
update test
1 parent 34c8e20 commit c6c972e

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

football/src/main/scala/com/gu/mobile/notifications/football/models/MatchEvents.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,6 @@ case class Abandoned(eventId: String) extends MatchPhaseEvent
222222
case class Postponed(eventId: String) extends MatchPhaseEvent
223223
case class Cancelled(eventId: String) extends MatchPhaseEvent
224224

225-
226225
// Live Activity phase events
227226
case class CreateChannel(eventId: String) extends MatchPhaseEvent
228227
case class StartLiveActivity(eventId: String) extends MatchPhaseEvent

football/src/test/scala/com/gu/mobile/notifications/football/notificationbuilders/MatchStatusNotificationBuilderSpec.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ class MatchStatusNotificationBuilderSpec extends Specification {
134134
"Use 'Kick-off starting soon' as title and message for a pre-match event" in new MatchEventsContext {
135135
val preMatch = PreMatch("pre-match-event-id")
136136
val notification = builder.build(preMatch, matchInfo, List.empty, None).asInstanceOf[FootballMatchStatusPayload]
137-
notification.title shouldEqual Some("Kick-off starting soon")
138-
notification.message shouldEqual Some("Liverpool v Plymouth\nKick-off starting soon")
137+
notification.title shouldEqual Some("Kick off starting soon")
138+
notification.message shouldEqual Some("Liverpool v Plymouth")
139139
}
140140
}
141141

0 commit comments

Comments
 (0)