Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
denrase committed Oct 28, 2024
1 parent 6ad839c commit 8d54f66
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions flutter/test/feedback/sentry_feedback_widget_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,15 @@ void main() {
});

testWidgets('does call hub captureFeedback on submit', (tester) async {
await fixture.pumpFeedbackWidget(
tester,
(hub) => SentryFeedbackWidget(
hub: hub,
associatedEventId:
SentryId.fromId('1988bb1b6f0d4c509e232f0cb9aaeaea'),
),
);

when(fixture.hub.captureFeedback(
any,
hint: anyNamed('hint'),
Expand Down

0 comments on commit 8d54f66

Please sign in to comment.