Kaynağa Gözat

SearchController Test: Fix test

features/emoji_reactions_list
lain 3 yıl önce
ebeveyn
işleme
783fa797bb
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. +2
    -0
      test/pleroma/web/mastodon_api/controllers/search_controller_test.exs

+ 2
- 0
test/pleroma/web/mastodon_api/controllers/search_controller_test.exs Dosyayı Görüntüle

@@ -279,6 +279,8 @@ defmodule Pleroma.Web.MastodonAPI.SearchControllerTest do
end

test "search fetches remote statuses and prefers them over other results", %{conn: conn} do
clear_config([:instance, :search_function], :plain)

capture_log(fn ->
{:ok, %{id: activity_id}} =
CommonAPI.post(insert(:user), %{


Yükleniyor…
İptal
Kaydet