Skip to content

Commit

Permalink
fixing unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
knainwal committed Jul 23, 2024
1 parent 1d91751 commit 4e88938
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions data_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion test/gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4e88938

Please # to comment.