mirror of
https://github.com/pcvolkmer/etl-processor.git
synced 2025-04-20 01:36:50 +00:00
test: expect 3 issues with different severity
This commit is contained in:
parent
a62da60809
commit
f5999ff325
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user