You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before updating the state we should check if the state is CredentialIssued. Otherwise we could go directly from OfferSent to Done without actually issuing a credential
TimoGlastra
changed the title
Before updating credential state Done we should check if the state is CredentialIssued
Before updating credential state to Done we should check if the state is CredentialIssued
Oct 29, 2020
Fixes#123
* Move mock declaration to one place for all tests
* Add test to the existence of a credential request and request metadata.
* Add assertion for credential state transitions
Signed-off-by: Jakub Koci <[email protected]>
Before updating the state we should check if the state is
CredentialIssued
. Otherwise we could go directly fromOfferSent
toDone
without actually issuing a credentialOriginally posted by @TimoGlastra in #122 (comment)
The text was updated successfully, but these errors were encountered: