mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-07 14:05:52 +01:00
Merge pull request #1696 from gitbucket/api_repository_ssh_url
Add ssh_url to web hook request and API response
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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"){
|
||||
|
||||
Reference in New Issue
Block a user