summaryrefslogtreecommitdiff
path: root/internal/visibility/filter_test.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2022-11-24 13:54:49 +0100
committerLibravatar GitHub <noreply@github.com>2022-11-24 13:54:49 +0100
commitda8954858afb4d5a3a2faf55e77d7da3be0ea3db (patch)
treee81046ed4a4a00a9c5969115e151002deab67613 /internal/visibility/filter_test.go
parent[chore] cleanup storage implementation, no need for multiple interface types ... (diff)
downloadgotosocial-da8954858afb4d5a3a2faf55e77d7da3be0ea3db.tar.xz
[bugfix] Prevent future statuses entering timelines (#1134)
* [bugfix] Prevent future statuses entering timeline Statuses created more than 5 minutes into the future are now rejected in the visibility package. * Come on buddy
Diffstat (limited to 'internal/visibility/filter_test.go')
-rw-r--r--internal/visibility/filter_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/visibility/filter_test.go b/internal/visibility/filter_test.go
index 1283a50de..f384f12ff 100644
--- a/internal/visibility/filter_test.go
+++ b/internal/visibility/filter_test.go
@@ -60,8 +60,8 @@ func (suite *FilterStandardTestSuite) SetupSuite() {
}
func (suite *FilterStandardTestSuite) SetupTest() {
- testrig.InitTestLog()
testrig.InitTestConfig()
+ testrig.InitTestLog()
suite.db = testrig.NewTestDB()
suite.filter = visibility.NewFilter(suite.db)