Use testing config
This commit is contained in:
parent
26b21d1fcb
commit
5b2a91e24a
|
@ -41,9 +41,7 @@ func TestClientDefault(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestAddDropTorrent(t *testing.T) {
|
||||
cl, err := NewClient(&Config{
|
||||
ListenAddr: "localhost:0",
|
||||
})
|
||||
cl, err := NewClient(&TestingConfig)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue