mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
04b8a5cbd7
* 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
17 lines
364 B
Go
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")
|
|
|
|
}
|