diff options
| author | lain <lain@soykaf.club> | 2020-05-11 12:50:25 +0200 |
|---|---|---|
| committer | rinpatch <rinpatch@sdf.org> | 2020-05-13 00:33:38 +0300 |
| commit | 3f13437a9cfc0f13cb4921ee04b7821c1b169021 (patch) | |
| tree | b1a999ce4a5cad956fef0d9fef8bd10058ba4c4f /test/web/activity_pub/activity_pub_controller_test.exs | |
| parent | 3a63f84c45e057dbfdcedba356478f32349c737a (diff) | |
| download | pleroma-3f13437a9cfc0f13cb4921ee04b7821c1b169021.tar.gz pleroma-3f13437a9cfc0f13cb4921ee04b7821c1b169021.zip | |
User: Truncate bios when updating a remote user.
Diffstat (limited to 'test/web/activity_pub/activity_pub_controller_test.exs')
| -rw-r--r-- | test/web/activity_pub/activity_pub_controller_test.exs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/web/activity_pub/activity_pub_controller_test.exs b/test/web/activity_pub/activity_pub_controller_test.exs index c418232da..153adc703 100644 --- a/test/web/activity_pub/activity_pub_controller_test.exs +++ b/test/web/activity_pub/activity_pub_controller_test.exs @@ -310,7 +310,11 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubControllerTest do end describe "/inbox" do + clear_config([:instance, :user_bio_length]) + test "it inserts an incoming activity into the database", %{conn: conn} do + Pleroma.Config.put([:instance, :user_bio_length], 1) + data = File.read!("test/fixtures/mastodon-post-activity.json") |> Poison.decode!() conn = |
