summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-05-28 03:56:37 -0400
committerBen Morrison <ben@gbmor.dev>2019-05-28 03:56:37 -0400
commit3eee3febf1ca150de82d17ad89c12a9ff7041c61 (patch)
treebf6c4070f81f04f1f15ba040a3bc3e5a982dabd4
parent489145d78946ac3ec006117e7c6f242719c6d411 (diff)
downloadgetwtxt-3eee3febf1ca150de82d17ad89c12a9ff7041c61.tar.gz
expanded push/pullDatabase test
-rw-r--r--cache_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/cache_test.go b/cache_test.go
index cb92c38..fc2d341 100644
--- a/cache_test.go
+++ b/cache_test.go
@@ -46,6 +46,9 @@ 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)
+	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 := pushDatabase()
0400 committer Ben Morrison <ben@gbmor.dev> 2019-05-13 22:13:54 -0400 template initialization added' href='/gbmor/getwtxt/commit/assets/style.css?h=v0.4.3&id=920306cbcad3df05e01699cd19f3767e069ab139'>920306c ^
0f645e7 ^


d15180e ^

920306c ^



3df037d ^
920306c ^


6cf0e26 ^

d15180e ^

920306c ^

6cf0e26 ^




920306c ^
6cf0e26 ^
0f645e7 ^
920306c ^
6cf0e26 ^
920306c ^
3df037d ^





1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53