File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -107,9 +107,11 @@ describe("Submodule", function() {
107107 } ) ;
108108
109109 it ( "can setup and finalize submodule add" , function ( ) {
110+ this . timeout ( 30000 ) ;
111+
110112 var repo = this . repository ;
111- var submodulePath = "hellogitworld " ;
112- var submoduleUrl = "https://github.com/githubtraining/hellogitworld .git" ;
113+ var submodulePath = "nodegittest " ;
114+ var submoduleUrl = "https://github.com/nodegit/test .git" ;
113115
114116 var submodule ;
115117 var submoduleRepo ;
@@ -134,7 +136,7 @@ describe("Submodule", function() {
134136 return reference . peel ( NodeGit . Object . TYPE . COMMIT ) ;
135137 } )
136138 . then ( function ( commit ) {
137- return submoduleRepo . createBranch ( "master" , commit ) ;
139+ return submoduleRepo . createBranch ( "master" , commit . id ( ) ) ;
138140 } )
139141 . then ( function ( ) {
140142 return submodule . addFinalize ( ) ;
You can’t perform that action at this time.
0 commit comments