Call upload status tests

Fix metadata status not returning correct reference string

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
This commit is contained in:
Derek McGowan
2017-07-21 15:31:38 -07:00
parent bb3c9c5927
commit 8e1591bd8b
3 changed files with 26 additions and 11 deletions

View File

@@ -23,8 +23,9 @@ func TestContent(t *testing.T) {
if err != nil {
return nil, nil, err
}
cs = NewContentStore(db, cs)
return cs, func() {}, nil
return NewContentStore(db, cs), func() {
db.Close()
}, nil
})
}