mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-30 07:26:14 -06:00
update function name in test
This commit is contained in:
parent
3c1fb1a0f1
commit
78fee8d732
1 changed files with 2 additions and 2 deletions
|
|
@ -827,7 +827,7 @@ func (suite *RelationshipTestSuite) TestUnfollowExisting() {
|
|||
followID := follow.ID
|
||||
|
||||
// We should have lists that this follow is a part of.
|
||||
lists, err := suite.db.GetListsWithFollowID(context.Background(), followID)
|
||||
lists, err := suite.db.GetListsContainingFollowID(context.Background(), followID)
|
||||
suite.NoError(err)
|
||||
suite.NotEmpty(lists)
|
||||
|
||||
|
|
@ -839,7 +839,7 @@ func (suite *RelationshipTestSuite) TestUnfollowExisting() {
|
|||
suite.Nil(follow)
|
||||
|
||||
// Lists containing this follow should return empty too.
|
||||
lists, err = suite.db.GetListsWithFollowID(context.Background(), followID)
|
||||
lists, err = suite.db.GetListsContainingFollowID(context.Background(), followID)
|
||||
suite.NoError(err)
|
||||
suite.Empty(lists)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue