summaryrefslogtreecommitdiff
path: root/test/web/common_api/common_api_test.exs
diff options
context:
space:
mode:
authorHaelwenn <contact+git.pleroma.social@hacktivis.me>2020-05-20 04:00:46 +0000
committerHaelwenn <contact+git.pleroma.social@hacktivis.me>2020-05-20 04:00:46 +0000
commit5a149e5788978d919020b81f6d454f1ece9b8983 (patch)
tree71a245852bfc710d3fe986b30e3a2473db436f31 /test/web/common_api/common_api_test.exs
parent48bcb22146ba84c174521147e004fd26c666ca84 (diff)
parent47ed9ee4411613cac81235f9751a8ccd0974e927 (diff)
downloadpleroma-5a149e5788978d919020b81f6d454f1ece9b8983.tar.gz
pleroma-5a149e5788978d919020b81f6d454f1ece9b8983.zip
Merge branch 'openapi/pleroma-api/scrobble' into 'develop'
Add OpenAPI spec for PleromaAPI.ScrobbleController See merge request pleroma/pleroma!2559
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)