delegation: fix following constructor updates

This commit is contained in:
Michael Muré
2024-12-10 12:19:47 +01:00
parent 0592717637
commit 2f2a74c7ec
3 changed files with 3 additions and 2 deletions

View File

@@ -75,7 +75,7 @@ func TestConstructors(t *testing.T) {
require.NoError(t, err)
t.Run("New", func(t *testing.T) {
tkn, err := delegation.New(didtest.PersonaAlice.DID(), didtest.PersonaBob.DID(), cmd, pol, didtest.PersonaAlice.DID(),
tkn, err := delegation.New(didtest.PersonaAlice.DID(), didtest.PersonaBob.DID(), cmd, pol, didtest.PersonaCarol.DID(),
delegation.WithNonce([]byte(nonce)),
delegation.WithExpiration(exp),
delegation.WithMeta("foo", "fooo"),