Skip to content

Commit

Permalink
#1652 Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Nov 17, 2020
1 parent 5f1bec9 commit 8f4ea83
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ class CaseTemplateCtrlTest extends PlaySpecification with TestAppBuilder {
)
val result = app[CaseTemplateCtrl].update("spam")(request)

status(result) must equalTo(204).updateMessage(s => s"$s\n${contentAsString(result)}")
status(result) must equalTo(200).updateMessage(s => s"$s\n${contentAsString(result)}")
contentAsJson(result).as[OutputCaseTemplate].displayName must beEqualTo("patched")

val updatedOutput = app[Database].roTransaction { implicit graph =>
app[CaseTemplateSrv].get(EntityName("spam")).richCaseTemplate.head
Expand Down

0 comments on commit 8f4ea83

Please sign in to comment.