forked from AkkomaGang/akkoma
Credo fixes for the credo god.
This commit is contained in:
parent
cdc6ba8d7b
commit
bf1b221f94
1 changed files with 1 additions and 1 deletions
|
@ -364,7 +364,7 @@ test "returns an error if the actor can't announce the object", %{
|
||||||
|
|
||||||
assert {:ok, _, _} = ObjectValidator.validate(announce, [])
|
assert {:ok, _, _} = ObjectValidator.validate(announce, [])
|
||||||
|
|
||||||
# The actor of the object can not announce it publicly
|
# The actor of the object can not announce it publicly
|
||||||
{:ok, announce, []} = Builder.announce(user, object, public: true)
|
{:ok, announce, []} = Builder.announce(user, object, public: true)
|
||||||
|
|
||||||
{:error, cng} = ObjectValidator.validate(announce, [])
|
{:error, cng} = ObjectValidator.validate(announce, [])
|
||||||
|
|
Loading…
Reference in a new issue