Skip to content

Conversation

@lafriks
Copy link
Member

@lafriks lafriks commented Dec 4, 2017

Tests for #2856

@lafriks lafriks added this to the 1.4.0 milestone Dec 4, 2017
@codecov-io
Copy link

codecov-io commented Dec 4, 2017

Codecov Report

Merging #3083 into master will increase coverage by 0.37%.
The diff coverage is n/a.

Impacted file tree graph

@@            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
Impacted Files Coverage Δ
models/issue_reaction.go 90% <ø> (+76%) ⬆️
models/issue.go 45.35% <0%> (+0.29%) ⬆️
models/issue_comment.go 53.47% <0%> (+1.85%) ⬆️
modules/indexer/repo.go 63.47% <0%> (+2.6%) ⬆️
modules/process/manager.go 81.15% <0%> (+4.34%) ⬆️
models/repo_indexer.go 51.98% <0%> (+6.43%) ⬆️
models/helper.go 100% <0%> (+33.33%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3b89ee5...8a27531. Read the comment docs.

@tboerger tboerger added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Dec 4, 2017
@lunny
Copy link
Member

lunny commented Dec 4, 2017

LGTM

@tboerger tboerger added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Dec 4, 2017
import (
"testing"

"github.com/stretchr/testify/assert"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

import order

@lafriks
Copy link
Member Author

lafriks commented Dec 5, 2017

@ethantkoenig fixed

Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv>
@lafriks lafriks force-pushed the test/comment_reactions branch from cb9b47c to 7bdb560 Compare December 5, 2017 20:20
@ethantkoenig
Copy link
Member

LGTM

@tboerger tboerger added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Dec 5, 2017
@lafriks lafriks merged commit f1d8dda into go-gitea:master Dec 5, 2017
@lafriks lafriks deleted the test/comment_reactions branch December 5, 2017 20:57
svarlamov added a commit to svarlamov/gitea that referenced this pull request Dec 6, 2017
Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com>

Format method comments

Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com>

Tests for reactions (go-gitea#3083)

* Unit tests for reactions

* Fix import order

Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv>

Fix reaction possition when there is attachments (go-gitea#3099)

Refactor notifications swap function
lunny pushed a commit that referenced this pull request Dec 7, 2017
* Add 'mark all read' option to notifications

Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com>

* Fix exported comment

Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com>

* Format method comments

Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com>

* Fix exported comment

Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com>

Format method comments

Signed-off-by: Sasha Varlamov <sasha@sashavarlamov.com>

Tests for reactions (#3083)

* Unit tests for reactions

* Fix import order

Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv>

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
@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants