Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit f2d1e7b

Browse files
committed
refactor(article-emotions): wip
1 parent c9d52a3 commit f2d1e7b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/groupher_server/cms/delegates/article_comment.ex

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@ defmodule GroupherServer.CMS.Delegate.ArticleComment do
33
CURD and operations for article comments
44
"""
55
import Ecto.Query, warn: false
6-
import Helper.Utils, only: [done: 1]
6+
import Helper.Utils, only: [done: 1, get_config: 2]
77
import Helper.ErrorCode
88

99
import GroupherServer.CMS.Helper.Matcher2
1010
import ShortMaps
11-
import Helper.Utils, only: [get_config: 2]
1211

1312
alias Helper.Types, as: T
1413
alias Helper.{ORM, QueryBuilder}

test/groupher_server/cms/comments/post_comment_emotions_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule GroupherServer.Test.CMS.Comments.PostCommentEmotions do
2121
end
2222

2323
describe "[emotion in paged article comment]" do
24-
@tag :wip3
24+
@tag :wip2
2525
test "login user should got viewer has emotioned status", ~m(post user)a do
2626
total_count = 0
2727
page_number = 10

0 commit comments

Comments
 (0)