Skip to content

Commit

Permalink
fix(api) group test
Browse files Browse the repository at this point in the history
  • Loading branch information
helderbetiol committed Apr 10, 2024
1 parent fe6c3bc commit 0254d1e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion API/models/create_object_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,6 @@ func TestValidateEntityGroupParent(t *testing.T) {

template["parentId"] = "siteA.building-1.room-1"
template["name"] = "groupA"
template["attributes"].(map[string]any)["content"] = "rack-1"
err = models.ValidateEntity(u.GROUP, template)
assert.NotNil(t, err)
assert.Equal(t, "All group objects must be directly under the parent (no . allowed)", err.Message)
Expand Down

0 comments on commit 0254d1e

Please sign in to comment.