summaryrefslogtreecommitdiff
path: root/internal/timeline/timeline_test.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2023-04-06 13:43:13 +0200
committerLibravatar GitHub <noreply@github.com>2023-04-06 12:43:13 +0100
commit3510454768b1877540c6dc25f4967e4b608203a8 (patch)
treeaed9c913711f08ae748591271132f968ef1e716f /internal/timeline/timeline_test.go
parent[bugfix] Normalize status content (don't parse status content as IRI) (#1665) (diff)
downloadgotosocial-3510454768b1877540c6dc25f4967e4b608203a8.tar.xz
[bugfix/chore] Refactor timeline code (#1656)
* start poking timelines * OK yes we're refactoring, but it's nothing like the last time so don't worry * more fiddling * update tests, simplify Get * thanks linter, you're the best, mwah mwah kisses * do a bit more tidying up * start buggering about with the prepare function * fix little oopsie * start merging lists into 1 * ik heb een heel zwaar leven nee nee echt waar * hey it works we did it reddit * regenerate swagger docs * tidy up a wee bit * adjust paging * fix little error, remove unused functions
Diffstat (limited to 'internal/timeline/timeline_test.go')
-rw-r--r--internal/timeline/timeline_test.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/internal/timeline/timeline_test.go b/internal/timeline/timeline_test.go
index 2207a3418..fb1859fc4 100644
--- a/internal/timeline/timeline_test.go
+++ b/internal/timeline/timeline_test.go
@@ -34,8 +34,10 @@ type TimelineStandardTestSuite struct {
tc typeutils.TypeConverter
filter *visibility.Filter
- testAccounts map[string]*gtsmodel.Account
- testStatuses map[string]*gtsmodel.Status
+ testAccounts map[string]*gtsmodel.Account
+ testStatuses map[string]*gtsmodel.Status
+ highestStatusID string
+ lowestStatusID string
timeline timeline.Timeline
manager timeline.Manager