mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Fix and test for delete user (#1713)
* Fix and test for delete user * Run updates in batches * Unit test
This commit is contained in:
@@ -2,3 +2,13 @@
|
||||
id: 1
|
||||
user_id: 4
|
||||
follow_id: 2
|
||||
|
||||
-
|
||||
id: 2
|
||||
user_id: 8
|
||||
follow_id: 2
|
||||
|
||||
-
|
||||
id: 3
|
||||
user_id: 2
|
||||
follow_id: 8
|
||||
|
@@ -4,9 +4,9 @@
|
||||
name: user1
|
||||
full_name: User One
|
||||
email: user1@example.com
|
||||
passwd: password
|
||||
passwd: 7d93daa0d1e6f2305cc8fa496847d61dc7320bb16262f9c55dd753480207234cdd96a93194e408341971742f4701772a025a # password
|
||||
type: 0 # individual
|
||||
salt: salt
|
||||
salt: ZogKvWdyEx
|
||||
is_admin: true
|
||||
avatar: avatar1
|
||||
avatar_email: user1@example.com
|
||||
@@ -26,7 +26,8 @@
|
||||
avatar_email: user2@example.com
|
||||
num_repos: 2
|
||||
num_stars: 2
|
||||
num_followers: 1
|
||||
num_followers: 2
|
||||
num_following: 1
|
||||
is_active: true
|
||||
|
||||
-
|
||||
@@ -123,6 +124,8 @@
|
||||
avatar_email: user8@example.com
|
||||
num_repos: 0
|
||||
is_active: true
|
||||
num_followers: 1
|
||||
num_following: 1
|
||||
|
||||
-
|
||||
id: 9
|
||||
|
Reference in New Issue
Block a user