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) {
|
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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue