fix public timeline bug (#150)

This commit is contained in:
tobi
2021-08-26 11:28:16 +02:00
committed by GitHub
parent 2dc9fc1626
commit ddc120d5e6
18 changed files with 162 additions and 79 deletions

View File

@@ -63,6 +63,13 @@ func (suite *BasicTestSuite) TestGetAccountByID() {
suite.NoError(err)
}
func (suite *BasicTestSuite) TestGetAllStatuses() {
s := []*gtsmodel.Status{}
err := suite.db.GetAll(context.Background(), &s)
suite.NoError(err)
suite.Len(s, 12)
}
func TestBasicTestSuite(t *testing.T) {
suite.Run(t, new(BasicTestSuite))
}