File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed
Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ packages:
77 name: async
88 url: "https://pub.dartlang.org"
99 source: hosted
10- version: "2.5.0 "
10+ version: "2.8.1 "
1111 boolean_selector:
1212 dependency: transitive
1313 description:
@@ -28,7 +28,7 @@ packages:
2828 name: charcode
2929 url: "https://pub.dartlang.org"
3030 source: hosted
31- version: "1.2.0 "
31+ version: "1.3.1 "
3232 clock:
3333 dependency: transitive
3434 description:
@@ -73,7 +73,7 @@ packages:
7373 name: meta
7474 url: "https://pub.dartlang.org"
7575 source: hosted
76- version: "1.3 .0"
76+ version: "1.7 .0"
7777 path:
7878 dependency: transitive
7979 description:
@@ -92,7 +92,7 @@ packages:
9292 name: source_span
9393 url: "https://pub.dartlang.org"
9494 source: hosted
95- version: "1.8.0 "
95+ version: "1.8.1 "
9696 stack_trace:
9797 dependency: transitive
9898 description:
@@ -127,7 +127,7 @@ packages:
127127 name: test_api
128128 url: "https://pub.dartlang.org"
129129 source: hosted
130- version: "0.2.19 "
130+ version: "0.4.2 "
131131 typed_data:
132132 dependency: transitive
133133 description:
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import 'package:flutter_test/flutter_test.dart';
44import 'package:flutter_line_sdk/flutter_line_sdk.dart' ;
55
66void main () {
7- WidgetsFlutterBinding .ensureInitialized ();
7+ TestWidgetsFlutterBinding .ensureInitialized ();
88 group ('Models' , () {
99 test ('access_token should be parsed correctly' , () {});
1010 });
@@ -45,7 +45,8 @@ void main() {
4545 """ ;
4646
4747 setUp (() {
48- channel.setMockMethodCallHandler ((MethodCall methodCall) async {
48+ TestDefaultBinaryMessengerBinding .instance! .defaultBinaryMessenger
49+ .setMockMethodCallHandler (channel, (MethodCall methodCall) async {
4950 switch (methodCall.method) {
5051 case 'setup' :
5152 return null ;
@@ -99,6 +100,7 @@ void main() {
99100 });
100101
101102 tearDown (() {
102- channel.setMockMethodCallHandler (null );
103+ TestDefaultBinaryMessengerBinding .instance! .defaultBinaryMessenger
104+ .setMockMethodCallHandler (channel, null );
103105 });
104106}
You can’t perform that action at this time.
0 commit comments