-
Notifications
You must be signed in to change notification settings - Fork 188
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
[tests-only][full-ci] add test to disable notification for Removed as space member
event
#10905
base: master
Are you sure you want to change the base?
Conversation
b09f941
to
af58441
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update this part also
/**
* filter notification according to subject and resource
*
* @param string $subject
* @param string $resource
* @param ResponseInterface|null $response
*
* @return array
*/
public function filterNotificationsBySubjectAndResource(
af58441
to
44df9c0
Compare
Signed-off-by: prashant-gurung899 <[email protected]>
44df9c0
to
3bf9ab0
Compare
Quality Gate passedIssues Measures |
* | ||
* @param string $user | ||
* @param string $resource | ||
* @param string $resourceOrSpace | ||
* @param string $subject | ||
* | ||
* @return void | ||
*/ | ||
public function userShouldNotHaveANotificationRelatedToResourceWithSubject( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public function userShouldNotHaveANotificationRelatedToResourceWithSubject( | |
public function userShouldNotHaveANotificationRelatedToResourceOrSpaceWithSubject( |
&& ((isset($notification->messageRichParameters->resource->name) | ||
&& $notification->messageRichParameters->resource->name === $resourceOrSpace) | ||
|| (isset($notification->messageRichParameters->space->name) | ||
&& $notification->messageRichParameters->space->name === $resourceOrSpace)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's not do this. wait for PR #10895
Description
This PR adds test to disable notification for
Removed as space member
event.Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: