Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Communication chat test scenario remove participant - updated the error code in comment #7728

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def test_chat_remove_participants(self, communication_resource_info):
self.cmd('az communication chat participant remove --thread {thread_id} --user {user_id} --yes')

# assert 'The initiator doesn\'t have the permission to perform the requested operation.' in str(raises.exception)
# For now rest endpoint returns a 500 error, so we are checking for that
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not necessary to release a new version if only the test code changed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kairu-ms, reverted the version upgrade changes

# For now rest endpoint returns a 403 error, so we are checking for that
assert 'Operation returned an invalid status \'Forbidden\'' in str(raises.exception)


Expand Down
Loading