summaryrefslogtreecommitdiff
path: root/test/web/instances
diff options
context:
space:
mode:
authorlambda <lain@soykaf.club>2019-03-13 09:09:44 +0000
committerlambda <lain@soykaf.club>2019-03-13 09:09:44 +0000
commit92a0210fb03ca3e0aefe769fb6b0ab7bda6e5336 (patch)
tree56e78105e29834c60f73c1bf8c39a983d88421a4 /test/web/instances
parentd0e94d5f1baac7a19d6cdd33b1f54470041e7227 (diff)
parentd43b1c0b5d203fd4f195951ac7b60b666a43914f (diff)
downloadpleroma-92a0210fb03ca3e0aefe769fb6b0ab7bda6e5336.tar.gz
pleroma-92a0210fb03ca3e0aefe769fb6b0ab7bda6e5336.zip
Merge branch 'features/add-credo-to-ci' into 'develop'
Add credo to CI See merge request pleroma/pleroma!902
Diffstat (limited to 'test/web/instances')
-rw-r--r--test/web/instances/instance_test.exs2
-rw-r--r--test/web/instances/instances_test.exs3
2 files changed, 3 insertions, 2 deletions
diff --git a/test/web/instances/instance_test.exs b/test/web/instances/instance_test.exs
index a158c0a42..d28730994 100644
--- a/test/web/instances/instance_test.exs
+++ b/test/web/instances/instance_test.exs
@@ -3,8 +3,8 @@
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Instances.InstanceTest do
- alias Pleroma.Repo
alias Pleroma.Instances.Instance
+ alias Pleroma.Repo
use Pleroma.DataCase
diff --git a/test/web/instances/instances_test.exs b/test/web/instances/instances_test.exs
index 2530c09fe..f0d84edea 100644
--- a/test/web/instances/instances_test.exs
+++ b/test/web/instances/instances_test.exs
@@ -102,7 +102,8 @@ defmodule Pleroma.InstancesTest do
end
end
- # Note: implementation-specific (e.g. Instance) details of set_unreachable/1 should be tested in implementation-specific tests
+ # Note: implementation-specific (e.g. Instance) details of set_unreachable/1
+ # should be tested in implementation-specific tests
describe "set_unreachable/1" do
test "returns error status on non-binary input" do
assert {:error, _} = Instances.set_unreachable(nil)