mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-10-26 15:00:22 +08:00
change test names to match new convention
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
@@ -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{
|
||||||
|
|||||||
Reference in New Issue
Block a user