Use testing config

This commit is contained in:
Matt Joiner 2015-03-11 04:22:56 +11:00
parent 26b21d1fcb
commit 5b2a91e24a
1 changed files with 1 additions and 3 deletions

View File

@ -41,9 +41,7 @@ func TestClientDefault(t *testing.T) {
} }
func TestAddDropTorrent(t *testing.T) { func TestAddDropTorrent(t *testing.T) {
cl, err := NewClient(&Config{ cl, err := NewClient(&TestingConfig)
ListenAddr: "localhost:0",
})
if err != nil { if err != nil {
t.Fatal(err) t.Fatal(err)
} }