Newer
Older
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).