Skip to content
Snippets Groups Projects
Commit cd56d3bc authored by Fabian Seidl's avatar Fabian Seidl
Browse files

fix formatting

parent edd9e066
1 merge request!1187[renovate] Update module buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go to v1.36.5-20250307204501-0409229c3780.1
Pipeline #264925 passed
......@@ -592,8 +592,7 @@ func TestRole_DeleteRoles(t *testing.T) {
wantErr: true,
validationErrors: []*validate.Violation{
{
//FieldPath: stringToPointer("role_name"),
Field: &validate.FieldPath{Elements: []*validate.FieldPathElement{&validate.FieldPathElement{FieldName: stringToPointer("role_name")}}},
Field: &validate.FieldPath{Elements: []*validate.FieldPathElement{{FieldName: stringToPointer("role_name")}}},
ConstraintId: stringToPointer("required"),
Message: stringToPointer("value is required"),
},
......
......@@ -365,8 +365,7 @@ func TestUser_UpdateUsers(t *testing.T) {
wantErr: true,
validationErrors: []*validate.Violation{
{
// FieldPath: stringToPointer("name"),
Field: &validate.FieldPath{Elements: []*validate.FieldPathElement{&validate.FieldPathElement{FieldName: stringToPointer("name")}}},
Field: &validate.FieldPath{Elements: []*validate.FieldPathElement{{FieldName: stringToPointer("name")}}},
ConstraintId: stringToPointer("required"),
Message: stringToPointer("value is required"),
},
......@@ -427,8 +426,7 @@ func TestUser_DeleteUsers(t *testing.T) {
wantErr: true,
validationErrors: []*validate.Violation{
{
//FieldPath: stringToPointer("name"),
Field: &validate.FieldPath{Elements: []*validate.FieldPathElement{&validate.FieldPathElement{FieldName: stringToPointer("name")}}},
Field: &validate.FieldPath{Elements: []*validate.FieldPathElement{{FieldName: stringToPointer("name")}}},
ConstraintId: stringToPointer("required"),
Message: stringToPointer("value is required"),
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment