diff options
author | Lauris BH <lauris@nix.lv> | 2017-12-05 22:57:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-05 22:57:01 +0200 |
commit | f1d8dda5b4031ccada00e43b64113f65601b906e (patch) | |
tree | 14642ec0ae715a7a97333124d014eabb326accb3 /models/issue_reaction.go | |
parent | 3b89ee5501335e263a73fe61abebf812a00def35 (diff) | |
download | gitea-f1d8dda5b4031ccada00e43b64113f65601b906e.tar.gz gitea-f1d8dda5b4031ccada00e43b64113f65601b906e.zip |
Tests for reactions (#3083)
* Unit tests for reactions
* Fix import order
Signed-off-by: Lauris Bukšis-Haberkorns <lauris@nix.lv>
Diffstat (limited to 'models/issue_reaction.go')
-rw-r--r-- | models/issue_reaction.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/models/issue_reaction.go b/models/issue_reaction.go index 358e0701b3..3ecf536420 100644 --- a/models/issue_reaction.go +++ b/models/issue_reaction.go @@ -9,10 +9,10 @@ import ( "fmt" "time" + "code.gitea.io/gitea/modules/setting" + "github.com/go-xorm/builder" "github.com/go-xorm/xorm" - - "code.gitea.io/gitea/modules/setting" ) // Reaction represents a reactions on issues and comments. |