mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-11-14 04:52:17 +00:00
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-*
|
archive-*
|
||||||
.gitlab-ci-local
|
.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 @@ defmodule Pleroma.Web.StreamerViewTest do
|
||||||
follower = insert(:user)
|
follower = insert(:user)
|
||||||
|
|
||||||
{:ok, _, _, _} = CommonAPI.follow(other_user, following)
|
{:ok, _, _, _} = CommonAPI.follow(other_user, following)
|
||||||
{:ok, follower, following, _activity} = CommonAPI.follow(following, follower)
|
{:ok, following, follower, _activity} = CommonAPI.follow(following, follower)
|
||||||
|
|
||||||
result =
|
result =
|
||||||
StreamerView.render(
|
StreamerView.render(
|
||||||
|
@ -46,7 +46,7 @@ defmodule Pleroma.Web.StreamerViewTest do
|
||||||
follower = insert(:user)
|
follower = insert(:user)
|
||||||
|
|
||||||
{:ok, _, _, _} = CommonAPI.follow(other_user, following)
|
{:ok, _, _, _} = CommonAPI.follow(other_user, following)
|
||||||
{:ok, follower, following, _activity} = CommonAPI.follow(following, follower)
|
{:ok, following, follower, _activity} = CommonAPI.follow(following, follower)
|
||||||
|
|
||||||
result =
|
result =
|
||||||
StreamerView.render(
|
StreamerView.render(
|
||||||
|
@ -76,7 +76,7 @@ defmodule Pleroma.Web.StreamerViewTest do
|
||||||
follower = insert(:user)
|
follower = insert(:user)
|
||||||
|
|
||||||
{:ok, _, _, _} = CommonAPI.follow(other_user, following)
|
{:ok, _, _, _} = CommonAPI.follow(other_user, following)
|
||||||
{:ok, follower, following, _activity} = CommonAPI.follow(following, follower)
|
{:ok, following, follower, _activity} = CommonAPI.follow(following, follower)
|
||||||
|
|
||||||
result =
|
result =
|
||||||
StreamerView.render(
|
StreamerView.render(
|
Loading…
Reference in a new issue