summary refs log tree commit diff stats
path: root/svc/init_test.go
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-06-18 23:32:46 -0400
committerBen Morrison <ben@gbmor.dev>2019-06-18 23:32:46 -0400
commit41398b172a5fd908195a31fe1cd1e727eac95051 (patch)
treefd22fc061476aadd61e648dbb4fc198dd6565b32 /svc/init_test.go
parentc5daf914198948ef96cb463641ecc734471bcdd5 (diff)
downloadgetwtxt-41398b172a5fd908195a31fe1cd1e727eac95051.tar.gz
changes related to registry-v0.3.0 v0.4.3
Diffstat (limited to 'svc/init_test.go')
-rw-r--r--svc/init_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/svc/init_test.go b/svc/init_test.go
index 314d5f4..72c8e3f 100644
--- a/svc/init_test.go
+++ b/svc/init_test.go
@@ -91,8 +91,8 @@ func testConfig() {
 // Creates a fresh mock registry, with a single
 // user and their statuses, for testing.
 func mockRegistry() {
-	twtxtCache = registry.NewIndex()
-	statuses, _, _ := registry.GetTwtxt("https://gbmor.dev/twtxt.txt")
+	twtxtCache = registry.NewIndex(nil)
+	statuses, _, _ := registry.GetTwtxt("https://gbmor.dev/twtxt.txt", nil)
 	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)
 }