File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -1070,6 +1070,7 @@ void main() {
1070
1070
1071
1071
testWidgets ('at app launch' , (tester) async {
1072
1072
addTearDown (testBinding.reset);
1073
+ addTearDown (tester.binding.platformDispatcher.clearDefaultRouteNameTestValue);
1073
1074
// Set up a value for `PlatformDispatcher.defaultRouteName` to return,
1074
1075
// for determining the intial route.
1075
1076
final account = eg.selfAccount;
@@ -1079,11 +1080,11 @@ void main() {
1079
1080
realmUrl: data.realmUrl,
1080
1081
userId: data.userId,
1081
1082
narrow: switch (data.recipient) {
1082
- FcmMessageChannelRecipient (: var streamId, : var topic) =>
1083
- TopicNarrow (streamId, topic),
1084
- FcmMessageDmRecipient (: var allRecipientIds) =>
1085
- DmNarrow (allRecipientIds: allRecipientIds, selfUserId: data.userId),
1086
- }).buildUrl ();
1083
+ FcmMessageChannelRecipient (: var streamId, : var topic) =>
1084
+ TopicNarrow (streamId, topic),
1085
+ FcmMessageDmRecipient (: var allRecipientIds) =>
1086
+ DmNarrow (allRecipientIds: allRecipientIds, selfUserId: data.userId),
1087
+ }).buildUrl ();
1087
1088
tester.binding.platformDispatcher.defaultRouteNameTestValue = intentDataUrl.toString ();
1088
1089
1089
1090
// Now start the app.
You can’t perform that action at this time.
0 commit comments