mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-16 11:09:33 +02:00
ef2db4c2b0
* ApiProviderUpload Command * formatting fix * formatting fix * formatting fix * formatting fix * CodeReview Changes * CodeReview Fix * CodeReview fix * CodeReview Fix * CodeReview FIx * CodeReview FIxes * CodeReview Fixes * CodeReview Fixes * CodeReview Fixes * CodeReview Fix * CodeReview Fix * CodeReview Fixes * CodeReview Fix * Doc Fixes * CodeReview Fix * CodeReview Fixes * Doc Fixes * Update cmd/apiProviderUpload_test.go Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com> * CodeReview FIxes * Update cmd/apiProviderUpload.go Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com> * CodeReview Fixes Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com>
18 lines
348 B
Go
18 lines
348 B
Go
package cmd
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestApiProviderUploadCommand(t *testing.T) {
|
|
t.Parallel()
|
|
|
|
testCmd := ApiProviderUploadCommand()
|
|
|
|
// only high level testing performed - details are tested in step generation procedure
|
|
assert.Equal(t, "apiProviderUpload", testCmd.Use, "command name incorrect")
|
|
|
|
}
|