-
Notifications
You must be signed in to change notification settings - Fork 343
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
Assert that notification icon is not null in tests #1269
Conversation
417dae3
to
a3bfee8
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #1269 +/- ##
==========================================
+ Coverage 65.45% 65.47% +0.02%
==========================================
Files 46 46
Lines 7749 7754 +5
==========================================
+ Hits 5072 5077 +5
Misses 2677 2677
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
The ci actually failed with another error unrelated to the changes and is not reproducible locally... |
I think the memory leak was addressed by @zappolowski in #1274 |
This change seems fine to me. Although the tests will probably not pass locally for you now then? |
Yes they fail but I still don't know why... but at least no segfault |
It is a better idea to skip the test if the icon is missing. |
do you know how to do that? I am not an expert of greatest |
It should be SKIP() |
This is a temporary fix to #1228 until we figure out what causes the issue in first place (icons not being loaded).
This simply adds assertion so that if the icon is null the test suite will not segfault
The ci will fail...