tests working locally

This commit is contained in:
afeiszli
2021-05-28 10:04:07 -04:00
parent 8e9a0b46aa
commit 4e758d67aa
10 changed files with 54 additions and 31 deletions

View File

@@ -303,7 +303,7 @@ func TestValidateNodeCreate(t *testing.T) {
node: models.Node{
Name: "mynode*",
},
errorMessage: "Field validation for 'Name' failed on the 'alphanum' tag",
errorMessage: "Field validation for 'Name' failed on the 'in_charset' tag",
},
NodeValidationTC{
testname: "NameTooLong",
@@ -450,7 +450,7 @@ func TestValidateNodeUpdate(t *testing.T) {
node: models.NodeUpdate{
Name: "mynode*",
},
errorMessage: "Field validation for 'Name' failed on the 'alphanum' tag",
errorMessage: "Field validation for 'Name' failed on the 'in_charset' tag",
},
NodeValidationUpdateTC{
testname: "NameTooLong",