mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	This reverts commit 78438d310b.
			
			
This commit is contained in:
		| @@ -10,7 +10,6 @@ import ( | ||||
| 	"time" | ||||
|  | ||||
| 	"github.com/stretchr/testify/assert" | ||||
| 	"xorm.io/builder" | ||||
| ) | ||||
|  | ||||
| func TestIssue_ReplaceLabels(t *testing.T) { | ||||
| @@ -267,12 +266,10 @@ func TestGetUserIssueStats(t *testing.T) { | ||||
| 		}, | ||||
| 		{ | ||||
| 			UserIssueStatsOptions{ | ||||
| 				UserID: 2, | ||||
| 				RepoSubQuery: builder.Select("repository.id"). | ||||
| 					From("repository"). | ||||
| 					Where(builder.In("repository.id", []int64{1, 2})), | ||||
| 				FilterMode: FilterModeAll, | ||||
| 				IsClosed:   true, | ||||
| 				UserID:      2, | ||||
| 				UserRepoIDs: []int64{1, 2}, | ||||
| 				FilterMode:  FilterModeAll, | ||||
| 				IsClosed:    true, | ||||
| 			}, | ||||
| 			IssueStats{ | ||||
| 				YourRepositoriesCount: 2, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user