mirror of
https://github.com/portainer/portainer.git
synced 2025-11-26 14:06:05 +08:00
16 lines
232 B
Go
16 lines
232 B
Go
package cli
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/require"
|
|
)
|
|
|
|
func TestGetVolumes(t *testing.T) {
|
|
kcl := &KubeClient{}
|
|
|
|
volumes, err := kcl.GetVolumes("default")
|
|
require.NoError(t, err)
|
|
require.Empty(t, volumes)
|
|
}
|