summaryrefslogtreecommitdiff
path: root/src/post/post_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/post/post_test.go')
-rw-r--r--src/post/post_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/post/post_test.go b/src/post/post_test.go
index c7f9cdc..7e87200 100644
--- a/src/post/post_test.go
+++ b/src/post/post_test.go
@@ -37,10 +37,9 @@ func TestNewID(t *testing.T) {
func testPost(i int) Post {
istr := strconv.Itoa(i)
return Post{
- ID: istr,
- Title: istr,
- Description: istr,
- Body: istr,
+ ID: istr,
+ Title: istr,
+ Body: istr,
}
}
@@ -127,6 +126,7 @@ func TestStore(t *testing.T) {
newNow := h.clock.Now().UTC()
post.Title = "something else"
+ post.Description = "some description"
post.Series = "whatever"
post.Body = "anything"
post.Tags = []string{"bar", "baz"}