change test names to match new convention

This commit is contained in:
rushtehrani
2020-07-09 12:45:16 -07:00
parent a0454cdfc3
commit aff166fb40
2 changed files with 3 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ func testCreateNamespace(c *Client) {
} }
} }
func TestListNamespace(t *testing.T) { func TestClient_ListNamespace(t *testing.T) {
c := DefaultTestClient() c := DefaultTestClient()
testCreateNamespace(c) testCreateNamespace(c)

View File

@@ -6,7 +6,7 @@ import (
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
) )
func TestCreateSecret(t *testing.T) { func TestClient_CreateSecret(t *testing.T) {
c := DefaultTestClient() c := DefaultTestClient()
err := c.CreateSecret("namespace", &Secret{ err := c.CreateSecret("namespace", &Secret{
@@ -15,7 +15,7 @@ func TestCreateSecret(t *testing.T) {
assert.Nil(t, err) assert.Nil(t, err)
} }
func TestGetSecret(t *testing.T) { func TestClient_GetSecret(t *testing.T) {
c := DefaultTestClient() c := DefaultTestClient()
err := c.CreateSecret("namespace", &Secret{ err := c.CreateSecret("namespace", &Secret{