diff options
author | Ben Morrison <ben@gbmor.dev> | 2019-06-19 19:39:08 -0400 |
---|---|---|
committer | Ben Morrison <ben@gbmor.dev> | 2019-06-19 19:39:08 -0400 |
commit | 37142b5d78d2eace9fef79d20793b0d42965dae5 (patch) | |
tree | 3c0c93fc5daba9916cf00d9dfce1007927694f8f /svc/db_test.go | |
parent | 75e9f55daa3946ae3b51cbcf3204d5131e420a84 (diff) | |
download | getwtxt-37142b5d78d2eace9fef79d20793b0d42965dae5.tar.gz |
updated internal functionality for registry v0.4.0 v0.4.4
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() |