summaryrefslogtreecommitdiffstats
path: root/api/channel_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/channel_test.go')
-rw-r--r--api/channel_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/channel_test.go b/api/channel_test.go
index 450aac877..7046a9868 100644
--- a/api/channel_test.go
+++ b/api/channel_test.go
@@ -647,7 +647,7 @@ func TestGetChannel(t *testing.T) {
t.Fatal("cache should be empty")
}
- if _, err := Client.UpdateLastViewedAt(channel2.Id); err != nil {
+ if _, err := Client.UpdateLastViewedAt(channel2.Id, true); err != nil {
t.Fatal(err)
}