mirror of
https://github.com/go-gitea/gitea
synced 2025-07-29 05:38:37 +00:00
Unit tests for models/action (#619)
This commit is contained in:
22
models/fixtures/action.yml
Normal file
22
models/fixtures/action.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
-
|
||||
id: 1
|
||||
user_id: 2
|
||||
op_type: 12 # close issue
|
||||
act_user_id: 2
|
||||
act_user_name: user2
|
||||
repo_id: 2
|
||||
repo_user_name: user2
|
||||
repo_name: repo2
|
||||
is_private: true
|
||||
|
||||
-
|
||||
id: 2
|
||||
user_id: 3
|
||||
op_type: 2 # rename repo
|
||||
act_user_id: 3
|
||||
act_user_name: user3
|
||||
repo_id: 3
|
||||
repo_user_name: user3
|
||||
repo_name: repo3 # TODO old or new name?
|
||||
is_private: false
|
||||
content: oldRepoName
|
Reference in New Issue
Block a user