firebase-ios-sdk
firebase-ios-sdk copied to clipboard
Fix Performance Unit Tests requiring Unswizzling
There are tests that supposedly require unswizzling, but when I remove the assertion, they all pass. There doesn't seem to be any issues removing all unswizzling from the unit tests.
#no-changelog
Just one test failure
https://github.com/firebase/firebase-ios-sdk/issues/11903
I'm not comfortable with this PR. Without unswizzling, the tests will not be accurate. The host app would not be reset across every test. So, if one test does swizzling and if it fails to unswizzle - then the rest of the tests would run on a swizzled app which might not build confidence on the rest of the tests. So, we should not remove the unswizzling capability from tests.