mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-05 13:05:50 +01:00
(refs #115)Fix TestCase
This commit is contained in:
@@ -7,7 +7,7 @@ import javax.servlet.ServletContext
|
|||||||
|
|
||||||
class GitCommandFactorySpec extends Specification with Mockito {
|
class GitCommandFactorySpec extends Specification with Mockito {
|
||||||
|
|
||||||
val factory = new GitCommandFactory(mock[ServletContext])
|
val factory = new GitCommandFactory(mock[ServletContext], "http://localhost:8080")
|
||||||
|
|
||||||
"createCommand" should {
|
"createCommand" should {
|
||||||
"returns GitReceivePack when command is git-receive-pack" in {
|
"returns GitReceivePack when command is git-receive-pack" in {
|
||||||
|
|||||||
Reference in New Issue
Block a user