Skip to content
Snippets Groups Projects
createConnection.feature 879 B
Newer Older
  • Learn to ignore specific revisions
  • Sagar Khole's avatar
    Sagar Khole committed
    Feature: Webhook call for create connection
    
        Scenario: Received validated DTO from NATS call .
            Given Webhook valid object .
            When  passed connection status as invited.
            And   passed valid connection id.
            And   role should be inviter.
            Then  should create the connection.
    
        Scenario: Received validated DTO from NATS call .
            Given Webhook valid object .
            When  passed connection status as invited.
            And   passed invalid connection id.
            And   role should be inviter.
            Then  should return valid status code 400(BAD_REQUEST).
    
        Scenario: Received validated DTO from NATS call .
            Given Webhook valid object .
            When  passed connection status as invited.
            And   passed valid connection id.
            And   role is invitee.
            Then  should return valid status code 400(BAD_REQUEST).