-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Tests for reactions #3083
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
Tests for reactions #3083
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3083 +/- ##
==========================================
+ Coverage 33.25% 33.63% +0.37%
==========================================
Files 273 273
Lines 39954 39954
==========================================
+ Hits 13288 13438 +150
+ Misses 24767 24610 -157
- Partials 1899 1906 +7
Continue to review full report at Codecov.
|
LGTM |
models/issue_reaction_test.go
Outdated
import ( | ||
"testing" | ||
|
||
"github.com/stretchr/testify/assert" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import order
@ethantkoenig fixed |
Signed-off-by: Lauris Bukšis-Haberkorns <[email protected]>
cb9b47c
to
7bdb560
Compare
LGTM |
Signed-off-by: Sasha Varlamov <[email protected]> Format method comments Signed-off-by: Sasha Varlamov <[email protected]> Tests for reactions (go-gitea#3083) * Unit tests for reactions * Fix import order Signed-off-by: Lauris Bukšis-Haberkorns <[email protected]> Fix reaction possition when there is attachments (go-gitea#3099) Refactor notifications swap function
* Add 'mark all read' option to notifications Signed-off-by: Sasha Varlamov <[email protected]> * Fix exported comment Signed-off-by: Sasha Varlamov <[email protected]> * Format method comments Signed-off-by: Sasha Varlamov <[email protected]> * Fix exported comment Signed-off-by: Sasha Varlamov <[email protected]> Format method comments Signed-off-by: Sasha Varlamov <[email protected]> Tests for reactions (#3083) * Unit tests for reactions * Fix import order Signed-off-by: Lauris Bukšis-Haberkorns <[email protected]> Fix reaction possition when there is attachments (#3099) Refactor notifications swap function * Accept change to drop beforeupdate call * Update purge notifications error message for consistency * Drop unnecessary check for mark all as read button * Remove debugging comment
Tests for #2856