diff --git a/thehive/test/org/thp/thehive/controllers/v1/UserCtrlTest.scala b/thehive/test/org/thp/thehive/controllers/v1/UserCtrlTest.scala index e7ac8f762c..8a5773b794 100644 --- a/thehive/test/org/thp/thehive/controllers/v1/UserCtrlTest.scala +++ b/thehive/test/org/thp/thehive/controllers/v1/UserCtrlTest.scala @@ -110,7 +110,8 @@ class UserCtrlTest extends PlaySpecification with TestAppBuilder { Permissions.manageObservable, Permissions.manageAlert, Permissions.manageAction, - Permissions.manageConfig + Permissions.manageConfig, + Permissions.accessTheHiveFS ), organisation = "cert" ) diff --git a/thehive/test/org/thp/thehive/services/CaseSrvTest.scala b/thehive/test/org/thp/thehive/services/CaseSrvTest.scala index de36479d95..258c2c38cc 100644 --- a/thehive/test/org/thp/thehive/services/CaseSrvTest.scala +++ b/thehive/test/org/thp/thehive/services/CaseSrvTest.scala @@ -62,7 +62,8 @@ class CaseSrvTest extends PlaySpecification with TestAppBuilder { Permissions.manageAction, Permissions.manageAnalyse, Permissions.manageShare, - Permissions.managePage + Permissions.managePage, + Permissions.accessTheHiveFS ) ) richCase.tags.map(_.toString) must contain(exactly("testNamespace:testPredicate=\"t1\"", "testNamespace:testPredicate=\"t3\"")) @@ -102,7 +103,8 @@ class CaseSrvTest extends PlaySpecification with TestAppBuilder { Permissions.manageAction, Permissions.manageAnalyse, Permissions.manageShare, - Permissions.managePage + Permissions.managePage, + Permissions.accessTheHiveFS ) ) richCase.tags.map(_.toString) must contain(exactly("testNamespace:testPredicate=\"t2\"", "testNamespace:testPredicate=\"t1\""))