summaryrefslogtreecommitdiffstats
path: root/models/issue_watch_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/issue_watch_test.go')
-rw-r--r--models/issue_watch_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/models/issue_watch_test.go b/models/issue_watch_test.go
index 90140591bf..762b1486c6 100644
--- a/models/issue_watch_test.go
+++ b/models/issue_watch_test.go
@@ -42,22 +42,22 @@ func TestGetIssueWatch(t *testing.T) {
func TestGetIssueWatchers(t *testing.T) {
assert.NoError(t, PrepareTestDatabase())
- iws, err := GetIssueWatchers(1)
+ iws, err := GetIssueWatchers(1, ListOptions{})
assert.NoError(t, err)
// Watcher is inactive, thus 0
assert.Len(t, iws, 0)
- iws, err = GetIssueWatchers(2)
+ iws, err = GetIssueWatchers(2, ListOptions{})
assert.NoError(t, err)
// Watcher is explicit not watching
assert.Len(t, iws, 0)
- iws, err = GetIssueWatchers(5)
+ iws, err = GetIssueWatchers(5, ListOptions{})
assert.NoError(t, err)
// Issue has no Watchers
assert.Len(t, iws, 0)
- iws, err = GetIssueWatchers(7)
+ iws, err = GetIssueWatchers(7, ListOptions{})
assert.NoError(t, err)
// Issue has one watcher
assert.Len(t, iws, 1)