mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 16:59:12 +00:00
fix: date time and improve erorrs (#22)
This commit is contained in:
parent
c372ca4ddf
commit
d4aa2027c0
13 changed files with 84 additions and 73 deletions
|
@ -103,7 +103,7 @@ func Test_client_Push(t *testing.T) {
|
|||
t.Run(tt.name, func(t *testing.T) {
|
||||
c := New(tt.fields.config)
|
||||
|
||||
err := c.Push(tt.args.release)
|
||||
_, err := c.Push(tt.args.release)
|
||||
if tt.wantErr && assert.Error(t, err) {
|
||||
assert.Equal(t, tt.err, err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue