summary refs log tree commit diff stats
path: root/cache_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'cache_test.go')
-rw-r--r--cache_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/cache_test.go b/cache_test.go
index cb92c38..fc2d341 100644
--- a/cache_test.go
+++ b/cache_test.go
@@ -46,6 +46,9 @@ func Test_pushpullDatabase(t *testing.T) {
 		t.Errorf("Couldn't set up test: %v\n", err)
 	}
 	twtxtCache.AddUser("gbmor", "https://gbmor.dev/twtxt.txt", net.ParseIP("127.0.0.1"), statusmap)
+	remoteRegistries.Mu.Lock()
+	remoteRegistries.List = append(remoteRegistries.List, "https://twtxt.tilde.institute/api/plain/users")
+	remoteRegistries.Mu.Unlock()
 
 	t.Run("Push to Database", func(t *testing.T) {
 		err := pushDatabase()