diff options
Diffstat (limited to 'svc/db_test.go')
-rw-r--r-- | svc/db_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svc/db_test.go b/svc/db_test.go index 7d3386c..1d2f7cf 100644 --- a/svc/db_test.go +++ b/svc/db_test.go @@ -21,7 +21,7 @@ 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) + twtxtCache.AddUser("gbmor", "https://gbmor.dev/twtxt.txt", net.ParseIP("127.0.0.1"), statusmap) remoteRegistries.List = append(remoteRegistries.List, "https://twtxt.tilde.institute/api/plain/users") @@ -65,7 +65,7 @@ func Benchmark_pushDatabase(b *testing.B) { b.Errorf("Couldn't set up benchmark: %v\n", err) } - twtxtCache.AddUser("gbmor", "https://gbmor.dev/twtxt.txt", "", net.ParseIP("127.0.0.1"), statusmap) + twtxtCache.AddUser("gbmor", "https://gbmor.dev/twtxt.txt", net.ParseIP("127.0.0.1"), statusmap) } b.ResetTimer() |