Add more tests for ActivityPub controllers (#13585)
This commit is contained in:
		
					parent
					
						
							
								a1062df1e1
							
						
					
				
			
			
				commit
				
					
						988b0493fe
					
				
			
		
					 19 changed files with 1320 additions and 147 deletions
				
			
		|  | @ -28,8 +28,7 @@ class Api::V1::Statuses::MutesController < Api::BaseController | |||
|     @status = Status.find(params[:status_id]) | ||||
|     authorize @status, :show? | ||||
|   rescue Mastodon::NotPermittedError | ||||
|     # Reraise in order to get a 404 instead of a 403 error code | ||||
|     raise ActiveRecord::RecordNotFound | ||||
|     not_found | ||||
|   end | ||||
| 
 | ||||
|   def set_conversation | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue