mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
5931415d9c
* ApiProviderList Command * Metadata Fix * Metadata Fix * CodeReview Fixes * Documentation Fixes * unit test fix Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com>
18 lines
342 B
Go
18 lines
342 B
Go
package cmd
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestApiProviderListCommand(t *testing.T) {
|
|
t.Parallel()
|
|
|
|
testCmd := ApiProviderListCommand()
|
|
|
|
// only high level testing performed - details are tested in step generation procedure
|
|
assert.Equal(t, "apiProviderList", testCmd.Use, "command name incorrect")
|
|
|
|
}
|