Skip to content

Commit

Permalink
#1655 Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Nov 17, 2020
1 parent 8d7aa1f commit f1c65f2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ class UserCtrlTest extends PlaySpecification with TestAppBuilder {
Permissions.manageObservable,
Permissions.manageAlert,
Permissions.manageAction,
Permissions.manageConfig
Permissions.manageConfig,
Permissions.accessTheHiveFS
),
organisation = "cert"
)
Expand Down
6 changes: 4 additions & 2 deletions thehive/test/org/thp/thehive/services/CaseSrvTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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\""))
Expand Down Expand Up @@ -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\""))
Expand Down

0 comments on commit f1c65f2

Please sign in to comment.