mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-07 22:15:51 +01:00
Avoid database access in model
Modified to pass assignee from outside of model instead.
This commit is contained in:
@@ -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"""{
|
||||
|
||||
Reference in New Issue
Block a user