Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
updated TC#32 - new error message
Browse files Browse the repository at this point in the history
  • Loading branch information
PavloPetrina committed May 20, 2019
1 parent 8771e70 commit e566a52
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ Feature: Organization service Org management - Leave Organization
Then user "A" should should receive the error message:"At least one Owner should be persisted in the organization: 'org A id'"


#MPA-7603 (#32) - should we return an error like " is not a "member" of organization" instead of empty object?
#MPA-7603 (#32)
Scenario: Fail to leave the Organization upon the user wasn't invited to any of the relevant Organizations
Given each of the users "A" and "B" have got personal valid "token" issued by relevant authority
And only single organization "organizationId" with specified "name" and "email" already created and owned by user "A"
When the user "B" requested to leave the user's "A" organization
Then the user "B" should receive successful response with empty object
Then the user "B" should receive the error message: "user's B 'id@clients' not a member of Organization [id=non-existent]"


#MPA-7603 (#33)
Expand Down

0 comments on commit e566a52

Please sign in to comment.