summaryrefslogtreecommitdiff
path: root/srv/src/post/post_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'srv/src/post/post_test.go')
-rw-r--r--srv/src/post/post_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/srv/src/post/post_test.go b/srv/src/post/post_test.go
index 97757e5..b6d8a2e 100644
--- a/srv/src/post/post_test.go
+++ b/srv/src/post/post_test.go
@@ -252,5 +252,9 @@ func TestStore(t *testing.T) {
bazPosts, err := h.store.GetByTag("baz")
assert.NoError(t, err)
assert.Empty(t, bazPosts)
+
+ tags, err := h.store.GetTags()
+ assert.NoError(t, err)
+ assert.ElementsMatch(t, []string{"foo", "bar"}, tags)
})
}