Skip to content
Snippets Groups Projects
webhookCallForUpdateStatus.feature 977 B
Newer Older
  • Learn to ignore specific revisions
  • Shridhar Honmore's avatar
    Shridhar Honmore committed
    Feature: Webhook call for update presentation status.
    
    Scenario: Received validated DTO from NATS call.
        Given Webhook valid object .
        When  passed presentation status as presentation received.
        And   passed valid proof request id.
        Then  should update presentation proof status in DB.
    
    Scenario: Received validated DTO from NATS call .
        Given Webhook valid object .
        When  passed presentation status as Done.
        And   passed valid proof request id.
        Then  should update presentation proof status in DB.
        And   make connection status to trusted.
    
    Scenario: Received validated DTO from NATS call And Auto accept request is true.
        Given Webhook valid object .
        When  passed presentation status as presentation received.
        And   passed valid proof request id.
        Then  should update presentation proof status in DB.
        And   accept presentation proof request.
        And   return valis message "Presentation received request accepted successfully".