Skip to content

Commit

Permalink
Rename dbmodel.User reference to dbmodel.Identity
Browse files Browse the repository at this point in the history
Signed-off-by: Babak K. Shandiz <[email protected]>
  • Loading branch information
babakks committed Jan 17, 2024
1 parent 140e97e commit ce12615
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions internal/jimm/service_account_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ func TestAddServiceAccount(t *testing.T) {
}
c.Assert(err, qt.IsNil)
user := openfga.NewUser(
&dbmodel.User{
Username: "bob@external",
&dbmodel.Identity{
Name: "bob@external",
DisplayName: "Bob",
},
client,
Expand All @@ -37,8 +37,8 @@ func TestAddServiceAccount(t *testing.T) {
err = j.AddServiceAccount(ctx, user, clientID)
c.Assert(err, qt.IsNil)
userAlice := openfga.NewUser(
&dbmodel.User{
Username: "alive@external",
&dbmodel.Identity{
Name: "alive@external",
DisplayName: "Alice",
},
client,
Expand Down

0 comments on commit ce12615

Please sign in to comment.