Tests, client tests WIP

This commit is contained in:
Philipp Heckel 2021-12-22 14:17:50 +01:00
parent 68d881291c
commit 6a7e9071b6
7 changed files with 104 additions and 30 deletions

View file

@ -488,7 +488,7 @@ func TestServer_SubscribeWithQueryFilters(t *testing.T) {
}
func newTestConfig(t *testing.T) *Config {
conf := NewConfig(":80")
conf := NewConfig()
conf.CacheFile = filepath.Join(t.TempDir(), "cache.db")
return conf
}