KMY
c905714459
Merge remote-tracking branch 'parent/main' into upstream-20240926
2024-09-26 08:29:41 +09:00
Matt Jankowski
51777fe3e2
Prefer structure checks over multi-line size/parts checks in parsed_body
( #32063 )
2024-09-25 13:54:22 +00:00
Matt Jankowski
66326065b0
Add response.content_type
checks for JSON to api/v1
request specs ( #31981 )
2024-09-20 13:13:04 +00:00
Matt Jankowski
b071e618e7
Combine API request spec assertions ( #31970 )
2024-09-19 10:15:21 +00:00
KMY
5b1954f100
Fix test
2024-09-09 09:59:59 +09:00
KMY
218cb37fe3
Merge remote-tracking branch 'parent/main' into upstream-20240906
2024-09-09 08:47:15 +09:00
Matt Jankowski
6b6a80b407
Remove body_as_json
in favor of built-in response.parsed_body
for JSON response specs ( #31749 )
2024-09-06 09:58:46 +00:00
KMY
f18eabfe75
Merge remote-tracking branch 'parent/main' into upstream-20240906
2024-09-06 08:42:24 +09:00
Matt Jankowski
f1003b2560
Enable "zero monkey patching" mode in RSpec ( #31614 )
2024-09-04 05:12:25 +00:00
Matt Jankowski
24a0b20408
Use body_as_json
directly instead of via local var assignment ( #31696 )
2024-09-03 08:03:08 +00:00
Matt Jankowski
40f993b3a0
Use built-in response.parsed_body
for JSON response specs ( #31674 )
2024-09-02 14:25:21 +00:00
KMY
adee1645a3
Merge remote-tracking branch 'parent/main' into upstream-20240716
2024-07-16 09:01:12 +09:00
Matt Jankowski
43e24dbb13
Use include_pagination_headers
in more places ( #30999 )
2024-07-12 08:30:52 +00:00
Matt Jankowski
f1300ad284
Rename jobs/attachments rspec tag names ( #29762 )
2024-07-08 16:01:08 +00:00
KMY
9a07550fa6
Merge remote-tracking branch 'parent/main' into upstream-20240705
2024-07-05 07:22:34 +09:00
Claire
502cf75b16
Merge pull request from GHSA-58x8-3qxw-6hm7
...
* Fix insufficient permission checking for public timeline endpoints
Note that this changes unauthenticated access failure code from 401 to 422
* Add more tests for public timelines
* Require user token in `/api/v1/statuses/:id/translate` and `/api/v1/scheduled_statuses`
2024-07-04 16:26:49 +02:00
KMY
92ef42d697
Merge remote-tracking branch 'parent/main' into upstream-20240201
2024-02-01 11:32:27 +09:00
Matt Jankowski
ff8937aa2c
Move api/v1/statuses/*
to request spec ( #28954 )
2024-01-26 17:45:54 +00:00
KMY
54f5113b46
Merge remote-tracking branch 'parent/main' into upstream-20240124
2024-01-24 08:38:14 +09:00
Matt Jankowski
7ecf7f5403
Move controller->request specs for api/v1/statuses/* ( #28818 )
2024-01-22 11:58:54 +00:00
KMY
e65fb9fb51
Merge remote-tracking branch 'parent/main' into upstream-20240112
2024-01-12 14:48:17 +09:00
Matt Jankowski
00341c70ff
Use Sidekiq fake!
instead of inline!
in specs ( #25369 )
2024-01-10 11:06:58 +00:00
KMY
c5e4020922
Merge remote-tracking branch 'parent/main' into upstream-20231124
2023-11-24 09:07:40 +09:00
Matt Jankowski
973597c6f1
Consolidate configuration of Sidekiq::Testing.fake!
setup ( #28046 )
2023-11-23 09:43:43 +00:00
KMY(雪あすか)
b73eb1b847
Test: API呼び出しによってスタンプをつけるテスト ( #139 )
...
* Test: API呼び出しによってスタンプをつけるテスト
* Fix: スタンプ削除APIで`emoji`パラメータを指定していないときに投稿が自由閲覧できる問題
* Test: さっきの問題のテストを追加
2023-10-18 10:34:53 +09:00
Daniel M Brasil
7664e3b692
Migrate to request specs in /api/v1/statuses/:status_id/source
( #25634 )
2023-10-13 14:08:21 +02:00
Christian Schmidt
4c18928a93
Wrong count in response when removing favourite/reblog ( #24365 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-07-19 09:02:30 +02:00
Daniel M Brasil
19208aa422
Migrate to request specs in /api/v1/statuses/:status_id/favourite
( #25626 )
2023-07-17 16:53:57 +02:00
Daniel M Brasil
6fb4a756ff
Migrate to request specs in /api/v1/statuses/:status_id/bookmark
( #25624 )
2023-07-17 16:51:49 +02:00
Daniel M Brasil
1aea938d3d
Migrate to request specs in /api/v1/statuses/:status_id/pin
( #25635 )
2023-07-17 16:24:05 +02:00