diff options
author | 2021-11-22 14:40:23 +0100 | |
---|---|---|
committer | 2021-11-22 14:40:23 +0100 | |
commit | 79ccd8fd8acd09f78385cda799e9049cbc59de0f (patch) | |
tree | 6f2645b00f65fe4c4f807d1ccc0994738d4719cc /internal/timeline/index_test.go | |
parent | Fix incorrect target being used in CC prop for mentioning statuses (#322) (diff) | |
download | gotosocial-79ccd8fd8acd09f78385cda799e9049cbc59de0f.tar.xz |
Fix mentioned accounts visibility bug (#323)
* update other tests
* set test status to followers_only
* add test dm
* fix mentioned accounts not being added to relevantAccounts
* add some visibility tests for statuses
Diffstat (limited to 'internal/timeline/index_test.go')
-rw-r--r-- | internal/timeline/index_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/timeline/index_test.go b/internal/timeline/index_test.go index 681f7617b..0f3a1df4a 100644 --- a/internal/timeline/index_test.go +++ b/internal/timeline/index_test.go @@ -66,7 +66,7 @@ func (suite *IndexTestSuite) TestIndexBeforeLowID() { // the oldest indexed post should be the lowest one we have in our testrig postID, err := suite.timeline.OldestIndexedPostID(context.Background()) suite.NoError(err) - suite.Equal("01F8MHAMCHF6Y650WCRSCP4WMY", postID) + suite.Equal("01F8MHAYFKS4KMXF8K5Y1C0KRN", postID) indexLength := suite.timeline.PostIndexLength(context.Background()) suite.Equal(10, indexLength) @@ -95,7 +95,7 @@ func (suite *IndexTestSuite) TestIndexBehindHighID() { // the newest indexed post should be the highest one we have in our testrig postID, err := suite.timeline.NewestIndexedPostID(context.Background()) suite.NoError(err) - suite.Equal("01FF25D5Q0DH7CHD57CTRS6WK0", postID) + suite.Equal("01FN3VJGFH10KR7S2PB0GFJZYG", postID) // indexLength should be 10 because that's all this user has hometimelineable indexLength := suite.timeline.PostIndexLength(context.Background()) |