- clients: fix tests

This commit is contained in:
Simon Zolin
2019-11-29 17:35:26 +03:00
parent e9cb8666ce
commit a692616981
2 changed files with 8 additions and 2 deletions

View File

@@ -11,6 +11,7 @@ func TestClients(t *testing.T) {
var e error
var b bool
clients := clientsContainer{}
clients.testing = true
clients.Init(nil, nil)
@@ -149,6 +150,7 @@ func TestClients(t *testing.T) {
func TestClientsWhois(t *testing.T) {
var c Client
clients := clientsContainer{}
clients.testing = true
clients.Init(nil, nil)
whois := [][]string{{"orgname", "orgname-val"}, {"country", "country-val"}}