summaryrefslogtreecommitdiffstats
path: root/models/issue_assignees_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/issue_assignees_test.go')
-rw-r--r--models/issue_assignees_test.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/models/issue_assignees_test.go b/models/issue_assignees_test.go
index 1c5b5e7a22..163234b167 100644
--- a/models/issue_assignees_test.go
+++ b/models/issue_assignees_test.go
@@ -58,13 +58,4 @@ func TestUpdateAssignee(t *testing.T) {
isAssigned, err = IsUserAssignedToIssue(issue, &User{ID: 4})
assert.NoError(t, err)
assert.False(t, isAssigned)
-
- // Clean everyone
- err = DeleteNotPassedAssignee(issue, user1, []*User{})
- assert.NoError(t, err)
-
- // Check they're gone
- assignees, err = GetAssigneesByIssue(issue)
- assert.NoError(t, err)
- assert.Equal(t, 0, len(assignees))
}