mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-18 09:07:28 -06:00
[feature/performance] support uncaching remote emoji + scheduled cleanup functions (#1987)
This commit is contained in:
parent
81fe59dadc
commit
9eff0d46e4
33 changed files with 1287 additions and 219 deletions
|
|
@ -50,13 +50,13 @@ func (suite *StatusTestSuite) TestGetStatusByID() {
|
|||
suite.True(*status.Likeable)
|
||||
}
|
||||
|
||||
func (suite *StatusTestSuite) TestGetStatusesByID() {
|
||||
func (suite *StatusTestSuite) TestGetStatusesByIDs() {
|
||||
ids := []string{
|
||||
suite.testStatuses["local_account_1_status_1"].ID,
|
||||
suite.testStatuses["local_account_2_status_3"].ID,
|
||||
}
|
||||
|
||||
statuses, err := suite.db.GetStatuses(context.Background(), ids)
|
||||
statuses, err := suite.db.GetStatusesByIDs(context.Background(), ids)
|
||||
if err != nil {
|
||||
suite.FailNow(err.Error())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue