Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Sep 17, 2024
1 parent abde5e3 commit 64f88ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion identity/handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1194,7 +1194,7 @@ func TestHandler(t *testing.T) {
i.SetCredentials(identity.CredentialsTypeCodeAuth, identity.Credentials{
Type: identity.CredentialsTypeCodeAuth,
Identifiers: []string{email},
Config: sqlxx.JSONRawMessage(fmt.Sprintf(`{"addresses": {"channel": "email", "address": "%s"}}`, email)),
Config: sqlxx.JSONRawMessage(fmt.Sprintf(`{"addresses": [{"channel": "email", "address": "%s"}]}`, email)),
})
require.NoError(t, reg.PrivilegedIdentityPool().CreateIdentity(context.Background(), i))
return i, email
Expand Down

0 comments on commit 64f88ce

Please sign in to comment.