-
Notifications
You must be signed in to change notification settings - Fork 29.7k
delete Usage in doctor tests
#162646
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
delete Usage in doctor tests
#162646
Conversation
| ); | ||
| }); | ||
|
|
||
| group('doctor usage params', () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These deleted scenarios are covered in the GA4 world later on in the file:
flutter/packages/flutter_tools/test/commands.shard/hermetic/doctor_test.dart
Lines 812 to 813 in c3b92f7
| group('Doctor events with unified_analytics', () { | |
| late FakeAnalytics fakeAnalytics; |
| testUsingContext('without PII has same text and PII-stripped text', () async { | ||
| final Doctor fakeDoctor = FakePassingDoctor(logger); | ||
| final DoctorText doctorText = DoctorText(logger, doctor: fakeDoctor); | ||
| final String piiText = await doctorText.text; | ||
| expect(piiText, isNotEmpty); | ||
| expect(piiText, await doctorText.piiStrippedText); | ||
| }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just removing the Usage override and reformatting.
Tiny delete op. Toward #150575
Pre-launch checklist
///).