summary refs log tree commit diff stats
path: root/svc/init_test.go
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-06-09 04:00:21 -0400
committerBen Morrison <ben@gbmor.dev>2019-06-09 04:00:21 -0400
commit7410b8cd74d0f702b087577b1793bcf541ac8371 (patch)
treedbc1aa568abc43fd7048d0587eecbb2a4d950cbb /svc/init_test.go
parent7f76158b9565d804ada682c1a9aa83c22cb8de71 (diff)
downloadgetwtxt-7410b8cd74d0f702b087577b1793bcf541ac8371.tar.gz
init staticAssets explicitly on startup
Diffstat (limited to 'svc/init_test.go')
-rw-r--r--svc/init_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/svc/init_test.go b/svc/init_test.go
index 11a1593..8fd8e95 100644
--- a/svc/init_test.go
+++ b/svc/init_test.go
@@ -23,6 +23,7 @@ func initTestConf() {
 
 		testConfig()
 		tmpls = testTemplates()
+		staticCache = initAssets()
 
 		confObj.Mu.RLock()
 		defer confObj.Mu.RUnlock()