We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 553f739 commit e2993d6Copy full SHA for e2993d6
flutter/test/sentry_native_channel_test.dart
@@ -184,15 +184,15 @@ void main() {
184
test('collectProfile', () async {
185
final traceId = SentryId.newId();
186
const startTime = 42;
187
- when(fixture.methodChannel.invokeMethod('collectProfile', {
+ when(fixture.methodChannel.invokeMapMethod('collectProfile', {
188
'traceId': traceId.toString(),
189
'startTime': startTime
190
})).thenAnswer((_) => Future.value());
191
192
final sut = fixture.getSut();
193
await sut.collectProfile(traceId, startTime);
194
195
- verify(fixture.methodChannel.invokeMethod('collectProfile',
+ verify(fixture.methodChannel.invokeMapMethod('collectProfile',
196
{'traceId': traceId.toString(), 'startTime': startTime}));
197
});
198
0 commit comments