mattermost / mattermost-plugin-jira

JIRA plugin for Mattermost 🔌
https://mattermost.gitbook.io/plugin-jira/
Apache License 2.0
98 stars 128 forks source link

Fix the issue with "AtlassianSecurityContext" being nil after migration to oauth #1002

Closed mickmister closed 11 months ago

mickmister commented 12 months ago

Summary

This PR is a continuation of https://github.com/mattermost/mattermost-plugin-jira/pull/999

Tests are added for most relevant permutations of instance type installations, instance migration, and user connection status.

Ticket Link

Fixes https://github.com/mattermost/mattermost-plugin-jira/issues/1001

codecov-commenter commented 12 months ago

Codecov Report

Attention: 11 lines in your changes are missing coverage. Please review.

Comparison is base (06a02e8) 29.48% compared to head (1bd19ff) 33.15%. Report is 4 commits behind head on master.

:exclamation: Current head 1bd19ff differs from pull request most recent head 1b40745. Consider uploading reports for the commit 1b40745 to get more accurate results

Files Patch % Lines
server/mock_kv_store.go 68.00% 6 Missing and 2 partials :warning:
server/kv.go 40.00% 2 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1002 +/- ## ========================================== + Coverage 29.48% 33.15% +3.67% ========================================== Files 52 53 +1 Lines 7848 7890 +42 ========================================== + Hits 2314 2616 +302 + Misses 5337 5048 -289 - Partials 197 226 +29 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.