Skip to content

Commit

Permalink
fix(entity): Added entity GUID validation
Browse files Browse the repository at this point in the history
  • Loading branch information
NSSPKrishna committed May 10, 2024
1 parent 3e709bf commit c08c81a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/entities/entity_guid_validator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

func TestDecodeEntityGuid_Valid(t *testing.T) {
entity := GenericEntity{
entity := DecodedEntity{
AccountId: 12345,
Domain: "test_domain",
EntityType: "user",
Expand All @@ -33,7 +33,7 @@ func TestDecodeEntityGuid_Valid(t *testing.T) {
}
}

func encodeEntity(entity GenericEntity) string {
func encodeEntity(entity DecodedEntity) string {
parts := []string{
strconv.FormatInt(entity.AccountId, 10),
entity.Domain,
Expand Down

0 comments on commit c08c81a

Please sign in to comment.