Browse Source

Media ids with content

pull/10294/head
Michael 8 months ago
parent
commit
f151b4571d
  1. 2
      tests/datasets/http/form-urlencoded-json.httpinput
  2. 2
      tests/src/Util/HTTPInputDataTest.php

2
tests/datasets/http/form-urlencoded-json.httpinput

@ -1 +1 @@
{"media_ids":[],"sensitive":false,"status":"Test Status","visibility":"private","spoiler_text":"Title"}
{"media_ids":[1],"sensitive":false,"status":"Test Status","visibility":"private","spoiler_text":"Title"}

2
tests/src/Util/HTTPInputDataTest.php

@ -79,7 +79,7 @@ class HTTPInputDataTest extends MockedTest
'input' => file_get_contents(__DIR__ . '/../../datasets/http/form-urlencoded-json.httpinput'),
'expected' => [
'variables' => [
'media_ids' => [],
'media_ids' => [1],
'sensitive' => false,
'status' => 'Test Status',
'visibility' => 'private',

Loading…
Cancel
Save