diff --git a/data_test.go b/data_test.go index bf58de2..26ea12e 100644 --- a/data_test.go +++ b/data_test.go @@ -2890,13 +2890,6 @@ type mongoAttributesSparseUser struct { ParentType *string `bson:"parenttype,omitempty"` UserName *string `bson:"username,omitempty"` } -// RootIdentity represents the Identity of the object. -var RootIdentity = Identity{ - Name: "root", - Category: "root", - Package: "todo-list", - Private: false, -} // Root represents the model of a root type Root struct { diff --git a/test/gen.sh b/test/gen.sh index 2352b20..16d84ff 100755 --- a/test/gen.sh +++ b/test/gen.sh @@ -27,7 +27,7 @@ EOF tail -n +14 model/task.go tail -n +20 model/unmarshalable.go tail -n +14 model/user.go - tail -n +14 model/root.go + tail -n +21 model/root.go tail -n +7 model/identities_registry.go tail -n +7 model/relationships_registry.go } >>../data_test.go