Skip to content

Commit

Permalink
Update to new error message
Browse files Browse the repository at this point in the history
  • Loading branch information
mpawliszyn authored May 24, 2024
1 parent df456a0 commit ddaa48c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,15 @@ class DynamoDbBackfillTest {

assertThatCode {
backfila.createWetRun<MakeTracksExplicitBackfill>(rangeStart = "start")
}.hasMessageContaining("Range is an invalid input for this Dynamo Backfila client")
}.hasMessageContaining("Range is not supported for this Dynamo Backfila client")

assertThatCode {
backfila.createWetRun<MakeTracksExplicitBackfill>(rangeEnd = "end")
}.hasMessageContaining("Range is an invalid input for this Dynamo Backfila client")
}.hasMessageContaining("Range is not supported for this Dynamo Backfila client")

assertThatCode {
backfila.createWetRun<MakeTracksExplicitBackfill>(rangeStart = "start", rangeEnd = "end")
}.hasMessageContaining("Range is an invalid input for this Dynamo Backfila client")
}.hasMessageContaining("Range is not supported for this Dynamo Backfila client")
}

class MakeTracksExplicitBackfill @Inject constructor(
Expand Down

0 comments on commit ddaa48c

Please sign in to comment.