-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[Crashlytics] Fix flaky tests #15551
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
base: main
Are you sure you want to change the base?
Changes from all commits
09d61fb
c6c90ad
18d6d48
21e20ad
3e59f61
8c1c5bb
7a6d04f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -53,6 +53,7 @@ - (void)setUp { | |
|
|
||
| - (void)tearDown { | ||
| [_userDefaults removeAllObjects]; | ||
| [[NSUserDefaults standardUserDefaults] removeObjectForKey:_testKey1]; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Adding cleanup for [[NSUserDefaults standardUserDefaults] removeObjectForKey:_testKey1];
[[NSUserDefaults standardUserDefaults] removeObjectForKey:_testKey2];
[[NSUserDefaults standardUserDefaults] removeObjectForKey:_testKey3]; |
||
| [super tearDown]; | ||
| } | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.