File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ func TestGetUserIssueStats(t *testing.T) {
218
218
AssignCount : 1 , // 6
219
219
CreateCount : 1 , // 6
220
220
OpenCount : 1 , // 6
221
- ClosedCount : 1 , // 1
221
+ ClosedCount : 0 , // issue(id:5) is posted by user2 and user1 is not owner or collaborator of repo(id:1)
222
222
},
223
223
},
224
224
{
@@ -229,11 +229,11 @@ func TestGetUserIssueStats(t *testing.T) {
229
229
IsClosed : true ,
230
230
},
231
231
issues_model.IssueStats {
232
- YourRepositoriesCount : 1 , // 6
232
+ YourRepositoriesCount : 0 , // 6
233
233
AssignCount : 0 ,
234
234
CreateCount : 0 ,
235
235
OpenCount : 1 , // 6
236
- ClosedCount : 1 , // 1
236
+ ClosedCount : 0 , // issue(id:5) is posted by user2 and user1 is not owner or collaborator of repo(id:1)
237
237
},
238
238
},
239
239
{
You can’t perform that action at this time.
0 commit comments