summary refs log tree commit diff stats
path: root/query_test.go
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-06-04 18:50:49 -0400
committerBen Morrison <ben@gbmor.dev>2019-06-04 18:50:49 -0400
commitdb1dc5d8c2d1557b085b63cb8c511f5a9864b38e (patch)
tree280484dfbd18289ec57042f2d7edfe327b02425b /query_test.go
parent0590df3c76934157833a7c3dfe65fd725e30a924 (diff)
downloadgetwtxt-db1dc5d8c2d1557b085b63cb8c511f5a9864b38e.tar.gz
updated index.AddUser() calls to reflect new version of registry lib
Diffstat (limited to 'query_test.go')
-rw-r--r--query_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/query_test.go b/query_test.go
index 3782165..b914b26 100644
--- a/query_test.go
+++ b/query_test.go
@@ -25,7 +25,7 @@ func Test_parseQueryOut(t *testing.T) {
 		t.Errorf("Couldn't set up test: %v\n", err)
 	}
 
-	twtxtCache.AddUser(nick, urls, net.ParseIP("127.0.0.1"), statusmap)
+	twtxtCache.AddUser(nick, urls, "", net.ParseIP("127.0.0.1"), statusmap)
 
 	t.Run("Parsing Status Query", func(t *testing.T) {
 		data, err := twtxtCache.QueryAllStatuses()
@@ -59,7 +59,7 @@ func Benchmark_parseQueryOut(b *testing.B) {
 		b.Errorf("Couldn't set up test: %v\n", err)
 	}
 
-	twtxtCache.AddUser(nick, urls, net.ParseIP("127.0.0.1"), statusmap)
+	twtxtCache.AddUser(nick, urls, "", net.ParseIP("127.0.0.1"), statusmap)
 
 	data, err := twtxtCache.QueryAllStatuses()
 	if err != nil {