Fixed tests for (un)muting statuses.

This commit is contained in:
tastytea 2019-04-29 18:35:20 +02:00
parent 667150d18a
commit d9a1872d1e
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 4 additions and 4 deletions

View File

@ -25,7 +25,7 @@
using namespace Mastodon;
SCENARIO ("/api/v1/statuses/:id/mute can be called successfully",
"[api][auth][mastodon][glitch-soc]")
"[api][auth][mastodon][pleroma][glitch-soc]")
{
REQUIRE (access_token != nullptr);
@ -42,7 +42,7 @@ SCENARIO ("/api/v1/statuses/:id/mute can be called successfully",
{
ret = masto.post(API::v1::statuses_id_mute,
{
{ "id", { user_id } }
{ "id", { status_id } }
});
status.from_string(ret);
}

View File

@ -25,7 +25,7 @@
using namespace Mastodon;
SCENARIO ("/api/v1/statuses/:id/unmute can be called successfully",
"[api][auth][mastodon][glitch-soc]")
"[api][auth][mastodon][pleroma][glitch-soc]")
{
REQUIRE (access_token != nullptr);
@ -42,7 +42,7 @@ SCENARIO ("/api/v1/statuses/:id/unmute can be called successfully",
{
ret = masto.post(API::v1::statuses_id_unmute,
{
{ "id", { user_id } }
{ "id", { status_id } }
});
status.from_string(ret);
}