We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 085a44e commit da6e7f8Copy full SHA for da6e7f8
models/issues/issue_test.go
@@ -218,7 +218,7 @@ func TestGetUserIssueStats(t *testing.T) {
218
AssignCount: 1, // 6
219
CreateCount: 1, // 6
220
OpenCount: 1, // 6
221
- ClosedCount: 1, // 1
+ ClosedCount: 0, // issue(id:5) is posted by user2 and user1 is not owner or collaborator of repo(id:1)
222
},
223
224
{
@@ -229,11 +229,11 @@ func TestGetUserIssueStats(t *testing.T) {
229
IsClosed: true,
230
231
issues_model.IssueStats{
232
- YourRepositoriesCount: 1, // 6
+ YourRepositoriesCount: 0, // 6
233
AssignCount: 0,
234
CreateCount: 0,
235
236
237
238
239
0 commit comments