Fix testcases

This commit is contained in:
Naoki Takezoe
2017-09-05 16:06:06 +09:00
parent 1fbfcfb446
commit d0c99727e9
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ class JsonFormatSpec extends FunSuite {
}
val sha1 = "6dcb09b5b57875f334f61aebed695e2e4193db5e"
val repo1Name = RepositoryName("octocat/Hello-World")
implicit val context = JsonFormat.Context("http://gitbucket.exmple.com")
implicit val context = JsonFormat.Context("http://gitbucket.exmple.com", None)
val apiUser = ApiUser(
login = "octocat",

View File

@@ -5,7 +5,7 @@ import org.scalatest.FunSpec
class GitCommandFactorySpec extends FunSpec {
val factory = new GitCommandFactory("http://localhost:8080")
val factory = new GitCommandFactory("http://localhost:8080", None)
describe("createCommand") {
it("should return GitReceivePack when command is git-receive-pack"){