mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-07 22:15:51 +01:00
fix test
This commit is contained in:
@@ -12,7 +12,9 @@ import org.scalatest.FunSpec
|
|||||||
import java.io.File
|
import java.io.File
|
||||||
|
|
||||||
class MergeServiceSpec extends FunSpec {
|
class MergeServiceSpec extends FunSpec {
|
||||||
val service = new MergeService {}
|
val service = new MergeService with AccountService with ActivityService with IssuesService with LabelsService
|
||||||
|
with MilestonesService with RepositoryService with PrioritiesService with PullRequestService with CommitsService
|
||||||
|
with WebHookPullRequestService {}
|
||||||
val branch = "master"
|
val branch = "master"
|
||||||
val issueId = 10
|
val issueId = 10
|
||||||
def initRepository(owner: String, name: String): File = {
|
def initRepository(owner: String, name: String): File = {
|
||||||
|
|||||||
Reference in New Issue
Block a user