mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-30 19:08:37 +00:00 
			
		
		
		
	Move migration test fixtures to the correct directories (#21901)
Unfortunately #21549 changed the name of Testcases without changing their associated fixture directories. Fix #21854 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
		| @@ -0,0 +1,9 @@ | ||||
| # for matrix, the access_token has been moved to "header_authorization" | ||||
| - | ||||
|   id: 1 | ||||
|   meta: '{"homeserver_url":"https://matrix.example.com","room_id":"roomID","message_type":1}' | ||||
|   header_authorization: "Bearer s3cr3t" | ||||
| - | ||||
|   id: 2 | ||||
|   meta: '' | ||||
|   header_authorization: "" | ||||
| @@ -0,0 +1,8 @@ | ||||
| # unsafe payload | ||||
| - id: 1 | ||||
|   hook_id: 1 | ||||
|   payload_content: '{"homeserver_url":"https://matrix.example.com","room_id":"roomID","access_token":"s3cr3t","message_type":1}' | ||||
| # safe payload | ||||
| - id: 2 | ||||
|   hook_id: 2 | ||||
|   payload_content: '{"homeserver_url":"https://matrix.example.com","room_id":"roomID","message_type":1}' | ||||
| @@ -0,0 +1,10 @@ | ||||
| # matrix webhook | ||||
| - id: 1 | ||||
|   type: matrix | ||||
|   meta: '{"homeserver_url":"https://matrix.example.com","room_id":"roomID","access_token":"s3cr3t","message_type":1}' | ||||
|   header_authorization_encrypted: '' | ||||
| # gitea webhook | ||||
| - id: 2 | ||||
|   type: gitea | ||||
|   meta: '' | ||||
|   header_authorization_encrypted: '' | ||||
		Reference in New Issue
	
	Block a user