summaryrefslogtreecommitdiff
path: root/test/web/common_api/common_api_test.exs
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-05-20 14:02:40 +0200
committerlain <lain@soykaf.club>2020-05-20 14:02:40 +0200
commitc7cdc553ff9bd7a068274d9b4b71008d9df04723 (patch)
tree7b66d6b01ea9d0e82ec2b594e4549397230ce145 /test/web/common_api/common_api_test.exs
parent0d5bce018df9c99c771daaaa1de3ab0efc0cba5c (diff)
parent423ea497bb2a7225f4f0d0e1ebff93466b3ec124 (diff)
downloadpleroma-c7cdc553ff9bd7a068274d9b4b71008d9df04723.tar.gz
pleroma-c7cdc553ff9bd7a068274d9b4b71008d9df04723.zip
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into announce-validator
Diffstat (limited to 'test/web/common_api/common_api_test.exs')
-rw-r--r--test/web/common_api/common_api_test.exs18
1 files changed, 9 insertions, 9 deletions
diff --git a/test/web/common_api/common_api_test.exs b/test/web/common_api/common_api_test.exs
index fd8299013..52e95397c 100644
--- a/test/web/common_api/common_api_test.exs
+++ b/test/web/common_api/common_api_test.exs
@@ -841,10 +841,10 @@ defmodule Pleroma.Web.CommonAPITest do
{:ok, activity} =
CommonAPI.listen(user, %{
- "title" => "lain radio episode 1",
- "album" => "lain radio",
- "artist" => "lain",
- "length" => 180_000
+ title: "lain radio episode 1",
+ album: "lain radio",
+ artist: "lain",
+ length: 180_000
})
object = Object.normalize(activity)
@@ -859,11 +859,11 @@ defmodule Pleroma.Web.CommonAPITest do
{:ok, activity} =
CommonAPI.listen(user, %{
- "title" => "lain radio episode 1",
- "album" => "lain radio",
- "artist" => "lain",
- "length" => 180_000,
- "visibility" => "private"
+ title: "lain radio episode 1",
+ album: "lain radio",
+ artist: "lain",
+ length: 180_000,
+ visibility: "private"
})
object = Object.normalize(activity)