diff options
Diffstat (limited to 'internal/api/activitypub/users')
| -rw-r--r-- | internal/api/activitypub/users/inboxpost_test.go | 8 | 
1 files changed, 5 insertions, 3 deletions
| diff --git a/internal/api/activitypub/users/inboxpost_test.go b/internal/api/activitypub/users/inboxpost_test.go index 2791f8110..715231ecc 100644 --- a/internal/api/activitypub/users/inboxpost_test.go +++ b/internal/api/activitypub/users/inboxpost_test.go @@ -478,15 +478,17 @@ func (suite *InboxPostTestSuite) TestPostEmptyCreate() {  		targetAccount     = suite.testAccounts["local_account_1"]  	) -	// Post a create with no object. +	// Post a create with no object, this +	// should get accepted and silently dropped +	// as the lack of ID marks it as transient.  	create := streams.NewActivityStreamsCreate()  	suite.inboxPost(  		create,  		requestingAccount,  		targetAccount, -		http.StatusBadRequest, -		`{"error":"Bad Request: missing ActivityStreams id property"}`, +		http.StatusAccepted, +		`{"status":"Accepted"}`,  		suite.signatureCheck,  	)  } | 
