summary refs log tree commit diff stats
path: root/svc/db_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'svc/db_test.go')
-rw-r--r--svc/db_test.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/svc/db_test.go b/svc/db_test.go
index abf7626..3c0abdf 100644
--- a/svc/db_test.go
+++ b/svc/db_test.go
@@ -23,9 +23,7 @@ func Test_pushpullDatabase(t *testing.T) {
 
 	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 := pushDB()