-
Notifications
You must be signed in to change notification settings - Fork 30
Renames notification-center methods #120
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
Conversation
@@ -407,10 +407,35 @@ function () { | |||
); | |||
} | |||
|
|||
public function testClearNotifications() | |||
public function testclearNotificationsAndVerifyThatclearNotificationListenersWithArgsIsCalled() |
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.
typo: should be testClear...
$this->notificationCenterMock->clearNotifications(NotificationType::ACTIVATE); | ||
} | ||
|
||
public function testclearNotificationListeners() |
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.
Same typo here
$notificationCenterA->clearAllNotificationListeners(); | ||
} | ||
|
||
public function testcleanAllNotificationsAndVerifyThatclearAllNotificationListenersIsCalled() |
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.
testClean...
$this->notificationCenterMock->expects($this->once()) | ||
->method('clearAllNotificationListeners'); | ||
|
||
$this->notificationCenterMock->cleanAllNotifications(); | ||
} | ||
|
||
public function testsendNotificationsGivenLessThanExpectedNumberOfArguments() |
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.
Can probably fix this as well
build |
build |
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.
lgtm
Known feature test failure |
Renames 'clearNotifications' to 'clearNotificationListeners' and 'cleanAllNotifications' to 'clearAllNotificationListeners'.
Added deprecated methods along '@deprecated' meta tag.