diff options
Diffstat (limited to 'svc/init_test.go')
-rw-r--r-- | svc/init_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/svc/init_test.go b/svc/init_test.go index b2fcd9a..51f72e2 100644 --- a/svc/init_test.go +++ b/svc/init_test.go @@ -93,6 +93,7 @@ func testConfig() { } func mockRegistry() { + twtxtCache = registry.NewIndex() statuses, _, _ := registry.GetTwtxt("https://gbmor.dev/twtxt.txt") parsed, _ := registry.ParseUserTwtxt(statuses, "gbmor", "https://gbmor.dev/twtxt.txt") _ = twtxtCache.AddUser("gbmor", "https://gbmor.dev/twtxt.txt", "1", net.ParseIP("127.0.0.1"), parsed) |