1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00
sap-jenkins-library/cmd/abapEnvironmentCloneGitRepo_generated_test.go
Daniel Mieg 04b8a5cbd7
Add golang step for abapEnvironmentCloneGitRepo (#1921)
* Add yaml

* Initial files

* Add inital functions

* Create Test file

* Initial trigger clone function

* Add command

* Adapt manageGitRepositoryUtils

* Enable Repositories yaml

* Add handleHttpError Tests

* Adapt CodeClimate Feedback

* Add tests for error messages

* Adapt error messages and handling

* Adapt gitignore
2020-08-21 14:49:48 +02:00

17 lines
364 B
Go

package cmd
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestAbapEnvironmentCloneGitRepoCommand(t *testing.T) {
testCmd := AbapEnvironmentCloneGitRepoCommand()
// only high level testing performed - details are tested in step generation procudure
assert.Equal(t, "abapEnvironmentCloneGitRepo", testCmd.Use, "command name incorrect")
}