Skip to content

Commit 820b78f

Browse files
notif test [nfc]: Rename clearActiveNotifications
1 parent 9d7b871 commit 820b78f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/model/binding.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -560,8 +560,8 @@ class FakeAndroidNotificationHostApi implements AndroidNotificationHostApi {
560560

561561
final Map<String, MessagingStyle?> _activeNotificationsMessagingStyle = {};
562562

563-
/// Clears all active notifications that have been created via [notify].
564-
void clearActiveNotifications() {
563+
/// Clears all [MessagingStyle] of active notifications that have been created via [notify].
564+
void clearActiveNotificationsMessagingStyle() {
565565
_activeNotificationsMessagingStyle.clear();
566566
}
567567

test/notifications/display_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ void main() {
232232
expectedIsGroupConversation: expectedIsGroupConversation,
233233
expectedTitle: expectedTitle,
234234
expectedTagComponent: expectedTagComponent);
235-
testBinding.androidNotificationHost.clearActiveNotifications();
235+
testBinding.androidNotificationHost.clearActiveNotificationsMessagingStyle();
236236

237237
testBinding.firebaseMessaging.onBackgroundMessage.add(
238238
RemoteMessage(data: data.toJson()));

0 commit comments

Comments
 (0)