diff options
author | Maxim Filippov <colixer@gmail.com> | 2019-10-18 18:35:58 +0200 |
---|---|---|
committer | Maxim Filippov <colixer@gmail.com> | 2019-10-18 18:35:58 +0200 |
commit | 019147f1153f0df844997c04c31753c18a22509f (patch) | |
tree | 4086ddbb3c92cd0439a973ec6f59bb2c0c758c4c /test/web/mastodon_api/controllers/search_controller_test.exs | |
parent | 2473702be22a44070fcff439ac901f5b9bb0586a (diff) | |
parent | 4053a82f41691195d1b29cc9eb3f6ed6814ee12f (diff) | |
download | pleroma-019147f1153f0df844997c04c31753c18a22509f.tar.gz pleroma-019147f1153f0df844997c04c31753c18a22509f.zip |
Merge branch 'develop' into feature/relay-list
Diffstat (limited to 'test/web/mastodon_api/controllers/search_controller_test.exs')
-rw-r--r-- | test/web/mastodon_api/controllers/search_controller_test.exs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/web/mastodon_api/controllers/search_controller_test.exs b/test/web/mastodon_api/controllers/search_controller_test.exs index ee413eef7..7953fad62 100644 --- a/test/web/mastodon_api/controllers/search_controller_test.exs +++ b/test/web/mastodon_api/controllers/search_controller_test.exs @@ -204,17 +204,17 @@ defmodule Pleroma.Web.MastodonAPI.SearchControllerTest do conn = conn |> assign(:user, user) - |> get("/api/v1/search", %{"q" => "shp@social.heldscal.la", "resolve" => "true"}) + |> get("/api/v1/search", %{"q" => "mike@osada.macgirvin.com", "resolve" => "true"}) assert results = json_response(conn, 200) [account] = results["accounts"] - assert account["acct"] == "shp@social.heldscal.la" + assert account["acct"] == "mike@osada.macgirvin.com" end test "search doesn't fetch remote accounts if resolve is false", %{conn: conn} do conn = conn - |> get("/api/v1/search", %{"q" => "shp@social.heldscal.la", "resolve" => "false"}) + |> get("/api/v1/search", %{"q" => "mike@osada.macgirvin.com", "resolve" => "false"}) assert results = json_response(conn, 200) assert [] == results["accounts"] |