aboutsummaryrefslogtreecommitdiff
path: root/models/issues/stopwatch_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/issues/stopwatch_test.go')
-rw-r--r--models/issues/stopwatch_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/models/issues/stopwatch_test.go b/models/issues/stopwatch_test.go
index ec2778aa8..ea3827a1f 100644
--- a/models/issues/stopwatch_test.go
+++ b/models/issues/stopwatch_test.go
@@ -45,12 +45,12 @@ func TestStopwatchExists(t *testing.T) {
func TestHasUserStopwatch(t *testing.T) {
assert.NoError(t, unittest.PrepareTestDatabase())
- exists, sw, err := issues_model.HasUserStopwatch(db.DefaultContext, 1)
+ exists, sw, _, err := issues_model.HasUserStopwatch(db.DefaultContext, 1)
assert.NoError(t, err)
assert.True(t, exists)
assert.Equal(t, int64(1), sw.ID)
- exists, _, err = issues_model.HasUserStopwatch(db.DefaultContext, 3)
+ exists, _, _, err = issues_model.HasUserStopwatch(db.DefaultContext, 3)
assert.NoError(t, err)
assert.False(t, exists)
}