Do not allow committing tests with a .ex extension
This commit is contained in:
parent
351a306d46
commit
2531785384
3 changed files with 6 additions and 3 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -63,3 +63,6 @@ pleroma.iml
|
|||
|
||||
archive-*
|
||||
.gitlab-ci-local
|
||||
|
||||
# Test files should be named *.exs
|
||||
test/pleroma/**/*.ex
|
||||
|
|
0
changelog.d/text-extensions.skip
Normal file
0
changelog.d/text-extensions.skip
Normal file
|
@ -17,7 +17,7 @@ test "shows follower/following count normally" do
|
|||
follower = insert(:user)
|
||||
|
||||
{:ok, _, _, _} = CommonAPI.follow(other_user, following)
|
||||
{:ok, follower, following, _activity} = CommonAPI.follow(following, follower)
|
||||
{:ok, following, follower, _activity} = CommonAPI.follow(following, follower)
|
||||
|
||||
result =
|
||||
StreamerView.render(
|
||||
|
@ -46,7 +46,7 @@ test "hides follower count for :hide_followers and :hide_followers_count" do
|
|||
follower = insert(:user)
|
||||
|
||||
{:ok, _, _, _} = CommonAPI.follow(other_user, following)
|
||||
{:ok, follower, following, _activity} = CommonAPI.follow(following, follower)
|
||||
{:ok, following, follower, _activity} = CommonAPI.follow(following, follower)
|
||||
|
||||
result =
|
||||
StreamerView.render(
|
||||
|
@ -76,7 +76,7 @@ test "hides follows count for :hide_follows and :hide_follows_count" do
|
|||
follower = insert(:user)
|
||||
|
||||
{:ok, _, _, _} = CommonAPI.follow(other_user, following)
|
||||
{:ok, follower, following, _activity} = CommonAPI.follow(following, follower)
|
||||
{:ok, following, follower, _activity} = CommonAPI.follow(following, follower)
|
||||
|
||||
result =
|
||||
StreamerView.render(
|
Loading…
Reference in a new issue