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

Update and implement additional integration tests for Organization service #126

Open
PavloPetrina opened this issue May 17, 2019 · 0 comments
Labels
Feature file Test cases

Comments

@PavloPetrina
Copy link
Contributor

PavloPetrina commented May 17, 2019

We need to implement new integration tests and update the existing ones to bring more clarity for potential users thus pls:

Update the following tests for API:

  • fail to create Org with undefined email №4
  • fail to get non-existent Org №17
  • fail to update non-existent Org №25
  • fail to leaveOrganization if the user not a member №32
  • fail to leave non-existent Org №33
  • deleteOrganizationApiKey which doesn't exists №47
  • inviteMember who already exists №53

Implement the following tests for API:

  • fail to create Org with empty/undefined name №5.1
  • Fail to add the API key (token) for a non-existent Org №42.1
  • admin fails to deleteOrganizationApiKey Owner №44.1
  • Fail to delete the API key (token) from non-existent Org №48.1
  • fail to deleteOrganizationApiKey if the requester isn't the manager №45
  • fail to inviteMember with the invalid role №54
  • Fail to inviteMember to non-existent Org №58.1
  • fail to kickoutMember as the non-existent user №66
  • Fail to kickoutMember from non-existent Org №71.1
  • fail to updateOrganizationMemberRole to invalid role №86
  • Fail to update some member role in the non-existent Org №91.1
@PavloPetrina PavloPetrina added the Feature file Test cases label May 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Feature file Test cases
Projects
None yet
Development

No branches or pull requests

1 participant