mirror of
https://github.com/usbharu/Hideout.git
synced 2026-10-11 06:01:28 +00:00
test: user-inboxの認証テストを追加
This commit is contained in:
@@ -91,3 +91,15 @@ Feature: Inbox Common Test
|
||||
|
||||
* print response
|
||||
Then match response.req == ['/users/test-user2']
|
||||
|
||||
Scenario: user-inboxにHTTP Signatureがないリクエストがきたら401を返す
|
||||
|
||||
* def inbox =
|
||||
"""
|
||||
{"type": "Follow"}
|
||||
"""
|
||||
|
||||
Given path '/inbox'
|
||||
And request inbox
|
||||
When method post
|
||||
Then status 401
|
||||
|
||||
Reference in New Issue
Block a user