1
0
mirror of https://github.com/pcvolkmer/etl-processor.git synced 2025-04-19 17:26:51 +00:00

test: expect 3 issues with different severity

This commit is contained in:
Paul-Christian Volkmer 2023-12-05 14:31:43 +01:00
parent a62da60809
commit f5999ff325

View File

@ -50,7 +50,7 @@ class ReportServiceTest {
val actual = this.reportService.deserialize(json)
assertThat(actual).hasSize(2)
assertThat(actual).hasSize(3)
assertThat(actual[0].severity).isEqualTo(ReportService.Severity.INFO)
assertThat(actual[0].message).isEqualTo("Info Message")
assertThat(actual[1].severity).isEqualTo(ReportService.Severity.WARNING)