Skip to content
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

Fix clearCache method on VoiceMessageAttachmentCacheManager #7244

Merged
merged 2 commits into from
Jan 6, 2023

Conversation

nimau
Copy link
Contributor

@nimau nimau commented Jan 6, 2023

voice messages temporary audio files are not deleted when clearing the cache because we are testing the existence of the temporary directory url using absoluteString instead of path.

@sonarcloud
Copy link

sonarcloud bot commented Jan 6, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@nimau nimau added the T-Defect Something isn't working: bugs, crashes, hangs and other reported problems label Jan 6, 2023
@nimau nimau marked this pull request as ready for review January 6, 2023 15:25
@codecov
Copy link

codecov bot commented Jan 6, 2023

Codecov Report

Base: 11.83% // Head: 11.84% // Increases project coverage by +0.00% 🎉

Coverage data is based on head (89cec93) compared to base (daea28b).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #7244   +/-   ##
========================================
  Coverage    11.83%   11.84%           
========================================
  Files         1629     1629           
  Lines       160154   160157    +3     
  Branches     65386    65389    +3     
========================================
+ Hits         18962    18965    +3     
  Misses      140555   140555           
  Partials       637      637           
Flag Coverage Δ
uitests 54.84% <ø> (ø)
unittests 5.96% <0.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...eMessages/VoiceMessageAttachmentCacheManager.swift 0.00% <0.00%> (ø)
...ojiPicker/Data/EmojiMart/EmojiItem+EmojiMart.swift 95.65% <0.00%> (+0.30%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@nimau nimau merged commit f7b1a4c into develop Jan 6, 2023
@nimau nimau deleted the nimau/fix_temporary_audiofiles_not_deleted branch January 6, 2023 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Voice-Messages T-Defect Something isn't working: bugs, crashes, hangs and other reported problems
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants