Temporary registers, SSH Port, Bug Fixes (#251)
- allows SSH Gitlab connection to have custom port - introduces temporary registers - fixes issue w/ quitting the popup on MR creation This is a #MINOR release
This commit is contained in:
committed by
GitHub
parent
36f512cd6d
commit
7c3ee0530b
@@ -102,6 +102,18 @@ func TestExtractGitInfo_Success(t *testing.T) {
|
||||
Namespace: "namespace-1/namespace-2/namespace-3",
|
||||
},
|
||||
},
|
||||
{
|
||||
desc: "Project configured in SSH:// and have a custom port",
|
||||
getProjectRemoteUrl: func() (string, error) {
|
||||
return "ssh://custom-gitlab.com:2222/namespace-1/project-name", nil
|
||||
},
|
||||
expected: GitProjectInfo{
|
||||
RemoteUrl: "ssh://custom-gitlab.com:2222/namespace-1/project-name",
|
||||
BranchName: "feature/abc",
|
||||
ProjectName: "project-name",
|
||||
Namespace: "namespace-1",
|
||||
},
|
||||
},
|
||||
{
|
||||
desc: "Project configured in HTTP and under a single folder without .git extension",
|
||||
getProjectRemoteUrl: func() (string, error) {
|
||||
|
||||
Reference in New Issue
Block a user