summaryrefslogtreecommitdiff
path: root/internal/cache/domain/domain_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/cache/domain/domain_test.go')
-rw-r--r--internal/cache/domain/domain_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/cache/domain/domain_test.go b/internal/cache/domain/domain_test.go
index d8c3205a6..b5937978c 100644
--- a/internal/cache/domain/domain_test.go
+++ b/internal/cache/domain/domain_test.go
@@ -20,13 +20,12 @@ package domain_test
import (
"errors"
"testing"
- "time"
"github.com/superseriousbusiness/gotosocial/internal/cache/domain"
)
func TestBlockCache(t *testing.T) {
- c := domain.New(100, time.Second)
+ c := new(domain.BlockCache)
blocks := []string{
"google.com",