fix tests
This commit is contained in:
parent
4637d045f5
commit
20d9835ff7
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue