mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-08-06 01:37:25 +08:00
This reverts commit 78438d310be42f9c5e0e2937ee54e6050cc8f381.
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