Add test case for namespace
This commit is contained in:
parent
7043372d05
commit
ac1c513c82
@ -52,6 +52,12 @@ func TestNamespaceGenerate(t *testing.T) {
|
||||
},
|
||||
expectErr: true,
|
||||
},
|
||||
{
|
||||
params: map[string]interface{}{
|
||||
"name": "",
|
||||
},
|
||||
expectErr: true,
|
||||
},
|
||||
{
|
||||
params: map[string]interface{}{
|
||||
"name": nil,
|
||||
|
Loading…
Reference in New Issue
Block a user