diff --git a/src/test/scala/gitbucket/core/api/JsonFormatSpec.scala b/src/test/scala/gitbucket/core/api/JsonFormatSpec.scala index ecf421a..310a34d 100644 --- a/src/test/scala/gitbucket/core/api/JsonFormatSpec.scala +++ b/src/test/scala/gitbucket/core/api/JsonFormatSpec.scala @@ -22,7 +22,7 @@ } 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", diff --git a/src/test/scala/gitbucket/core/ssh/GitCommandSpec.scala b/src/test/scala/gitbucket/core/ssh/GitCommandSpec.scala index 101352c..a3afc82 100644 --- a/src/test/scala/gitbucket/core/ssh/GitCommandSpec.scala +++ b/src/test/scala/gitbucket/core/ssh/GitCommandSpec.scala @@ -5,7 +5,7 @@ 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"){