Avoid database access in model

Modified to pass assignee from outside of model instead.
This commit is contained in:
Naoki Takezoe
2017-09-05 19:27:31 +09:00
parent 884fc5318a
commit 9251d64de8
6 changed files with 30 additions and 22 deletions

View File

@@ -282,7 +282,7 @@ class JsonFormatSpec extends FunSuite {
title = "new-feature",
body = "Please pull these awesome changes",
user = apiUser,
assignee = Left(apiUser)
assignee = Some(apiUser)
)
val apiPullRequestJson = s"""{