mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 00:39:13 +00:00
fix(downloadclient): qBittorrent url parse err handling (#1832)
* fix(downloadclient): qBittorrent url parse err handling * fix(downloadclient): qBittorrent url parse err handling test
This commit is contained in:
parent
a18284ecc6
commit
f54c51fa06
4 changed files with 22 additions and 8 deletions
|
@ -153,7 +153,8 @@ func TestDownloadClient_qbitBuildLegacyHost(t *testing.T) {
|
|||
Password: tt.fields.Password,
|
||||
Settings: tt.fields.Settings,
|
||||
}
|
||||
assert.Equalf(t, tt.want, c.qbitBuildLegacyHost(), "qbitBuildLegacyHost()")
|
||||
got, _ := c.qbitBuildLegacyHost()
|
||||
assert.Equalf(t, tt.want, got, "qbitBuildLegacyHost()")
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue