fix tests

This commit is contained in:
Milos Kozak 2023-10-23 15:08:18 +02:00
parent 4637d045f5
commit 20d9835ff7

View file

@ -54,7 +54,7 @@ class AutomationEventTest : TestBase() {
JSONAssert.assertEquals(eventJsonExpected, event.toJSON(), true) JSONAssert.assertEquals(eventJsonExpected, event.toJSON(), true)
// clone // clone
val clone = AutomationEventObject(injector).fromJSON(eventJsonExpected, 1) val clone = AutomationEventObject(injector).fromJSON(eventJsonExpected)
// check title // check title
assertThat(clone.title).isEqualTo(event.title) assertThat(clone.title).isEqualTo(event.title)