summary refs log tree commit diff stats
path: root/svc/db_test.go
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-06-19 19:39:08 -0400
committerBen Morrison <ben@gbmor.dev>2019-06-19 19:39:08 -0400
commit37142b5d78d2eace9fef79d20793b0d42965dae5 (patch)
tree3c0c93fc5daba9916cf00d9dfce1007927694f8f /svc/db_test.go
parent75e9f55daa3946ae3b51cbcf3204d5131e420a84 (diff)
downloadgetwtxt-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.go4
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()