From d06ed871e701383f67e5b95cf040f8241b555f74 Mon Sep 17 00:00:00 2001 From: To-om Date: Tue, 8 Sep 2020 18:00:39 +0200 Subject: [PATCH] #1517 Fix tests --- .../org/thp/thehive/controllers/v0/ObservableCtrlTest.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/thehive/test/org/thp/thehive/controllers/v0/ObservableCtrlTest.scala b/thehive/test/org/thp/thehive/controllers/v0/ObservableCtrlTest.scala index 9e09bce672..308f9e65cd 100644 --- a/thehive/test/org/thp/thehive/controllers/v0/ObservableCtrlTest.scala +++ b/thehive/test/org/thp/thehive/controllers/v0/ObservableCtrlTest.scala @@ -54,7 +54,7 @@ class ObservableCtrlTest extends PlaySpecification with TestAppBuilder { "tlp":2, "message":"love exciting and new", "tags":["tagfile"], - "data":"multi\nline\ntest" + "data":["multi","line","test"] } """.stripMargin)) val result = app[ObservableCtrl].create("#1")(request) @@ -151,7 +151,7 @@ class ObservableCtrlTest extends PlaySpecification with TestAppBuilder { "tlp":2, "message":"localhost", "tags":["local", "host"], - "data":"127.0.0.1\n127.0.0.2" + "data":["127.0.0.1","127.0.0.2"] } """)) val request = FakeRequest(