mirror of
https://github.com/pcvolkmer/etl-processor.git
synced 2025-07-01 14:12:55 +00:00
test: expect 3 issues with different severity
This commit is contained in:
@ -50,7 +50,7 @@ class ReportServiceTest {
|
|||||||
|
|
||||||
val actual = this.reportService.deserialize(json)
|
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].severity).isEqualTo(ReportService.Severity.INFO)
|
||||||
assertThat(actual[0].message).isEqualTo("Info Message")
|
assertThat(actual[0].message).isEqualTo("Info Message")
|
||||||
assertThat(actual[1].severity).isEqualTo(ReportService.Severity.WARNING)
|
assertThat(actual[1].severity).isEqualTo(ReportService.Severity.WARNING)
|
||||||
|
Reference in New Issue
Block a user