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.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/api/channel_test.go b/api/channel_test.go
index 5563c692e..1332360ad 100644
--- a/api/channel_test.go
+++ b/api/channel_test.go
@@ -417,6 +417,13 @@ func TestGetChannelCounts(t *testing.T) {
if len(counts.UpdateTimes) != 4 {
t.Fatal("wrong number of channel update times")
}
+
+ if cache_result, err := Client.GetChannelCounts(result.Etag); err != nil {
+ t.Fatal(err)
+ } else if cache_result.Data.(*model.ChannelCounts) != nil {
+ t.Log(cache_result.Data)
+ t.Fatal("cache should be empty")
+ }
}
}