Skip to content

Commit

Permalink
fix Unit test Case for Release
Browse files Browse the repository at this point in the history
  • Loading branch information
ndesai-newrelic committed Jul 19, 2022
1 parent d3eafcb commit dab1ce1
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions test/newrelic_mobile_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import 'package:newrelic_mobile/newrelic_dt_trace.dart';
import 'package:newrelic_mobile/newrelic_mobile.dart';
import 'package:newrelic_mobile/newrelic_navigation_observer.dart';
import 'package:newrelic_mobile/utils/platform_manager.dart';
import 'package:stack_trace/stack_trace.dart';

import 'newrelic_mobile_test.mocks.dart';

Expand Down Expand Up @@ -310,9 +309,7 @@ void main() {
PlatformManager.setPlatformInstance(platformManger);
when(platformManger.isAndroid()).thenAnswer((realInvocation) => false);
NewrelicMobile.setInteractionName(interActionName);
final Map<String, dynamic> params = <String, dynamic>{
'interactionName': interActionName,
};

expect(methodCalLogs, <Matcher>[]);
});

Expand Down Expand Up @@ -641,7 +638,7 @@ void main() {

Map<String, String?> attributes = <String, String?>{
'methodType': 'didReplace',
'from': '',
'from': '/',
'to': nextRouteName
};

Expand Down

0 comments on commit dab1ce1

Please sign in to comment.