From 57b112b6b25b890218803cae5c507ebac36ab17c Mon Sep 17 00:00:00 2001 From: FloatingGhost Date: Fri, 4 Nov 2022 19:32:20 +0000 Subject: [PATCH] make streamer tests somewhat less flimsy --- test/pleroma/web/mastodon_api/views/account_view_test.exs | 2 +- test/pleroma/web/streamer_test.exs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/pleroma/web/mastodon_api/views/account_view_test.exs b/test/pleroma/web/mastodon_api/views/account_view_test.exs index 9ca897662..552e37a9c 100644 --- a/test/pleroma/web/mastodon_api/views/account_view_test.exs +++ b/test/pleroma/web/mastodon_api/views/account_view_test.exs @@ -119,7 +119,7 @@ test "Represent a user account" do ] end - test "is parsed when :instance_favicons is enabled", %{user: user, instance: instance} do + test "is parsed when :instance_favicons is enabled", %{user: user} do clear_config([:instances_favicons, :enabled], true) assert %{ diff --git a/test/pleroma/web/streamer_test.exs b/test/pleroma/web/streamer_test.exs index 8e2ab5016..a9db5a015 100644 --- a/test/pleroma/web/streamer_test.exs +++ b/test/pleroma/web/streamer_test.exs @@ -3,7 +3,7 @@ # SPDX-License-Identifier: AGPL-3.0-only defmodule Pleroma.Web.StreamerTest do - use Pleroma.DataCase + use Pleroma.DataCase, async: false import Pleroma.Factory