From 78fee8d732e1d770bd30e56bcdab20283e21e99e Mon Sep 17 00:00:00 2001 From: kim Date: Mon, 16 Sep 2024 17:19:49 +0100 Subject: [PATCH] update function name in test --- internal/db/bundb/relationship_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/db/bundb/relationship_test.go b/internal/db/bundb/relationship_test.go index 5ca5a43d7..7aa749c90 100644 --- a/internal/db/bundb/relationship_test.go +++ b/internal/db/bundb/relationship_test.go @@ -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) }