diff --git a/test/common/iden3comm_mocks.dart b/test/common/iden3comm_mocks.dart index a6cdd3c2..e7774765 100644 --- a/test/common/iden3comm_mocks.dart +++ b/test/common/iden3comm_mocks.dart @@ -292,14 +292,16 @@ class Iden3commMocks { static List interactionEntities = [ InteractionEntity( - id: CommonMocks.intValues[0].toString(), - from: CommonMocks.did, - genesisDid: CommonMocks.did, - profileNonce: CommonMocks.nonce, - type: InteractionType.offer, - timestamp: 0, - message: CommonMocks.message, - state: InteractionState.opened), + id: CommonMocks.intValues[0].toString(), + from: CommonMocks.did, + genesisDid: CommonMocks.did, + profileNonce: CommonMocks.nonce, + type: InteractionType.offer, + timestamp: 0, + message: CommonMocks.message, + state: InteractionState.opened, + to: CommonMocks.did, + ), InteractionEntity( id: CommonMocks.intValues[1].toString(), from: CommonMocks.did, @@ -309,15 +311,18 @@ class Iden3commMocks { timestamp: 0, message: CommonMocks.message, state: InteractionState.received, + to: CommonMocks.did, ), InteractionEntity( - id: CommonMocks.intValues[2].toString(), - from: CommonMocks.did, - genesisDid: CommonMocks.did, - profileNonce: CommonMocks.nonce, - type: InteractionType.offer, - timestamp: 0, - message: CommonMocks.message, - state: InteractionState.accepted), + id: CommonMocks.intValues[2].toString(), + from: CommonMocks.did, + genesisDid: CommonMocks.did, + profileNonce: CommonMocks.nonce, + type: InteractionType.offer, + timestamp: 0, + message: CommonMocks.message, + state: InteractionState.accepted, + to: CommonMocks.did, + ), ]; }