Skip to content

Commit

Permalink
test: fixing unittests
Browse files Browse the repository at this point in the history
  • Loading branch information
shinmog committed Dec 31, 2021
1 parent c13eb9a commit 50fc449
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion testdata/testdata.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,8 @@ func (c *MockClient) VsysUnimport(ns, tmpl, ts string, names []string) error {
return c.UnimportError
}

func (c *MockClient) WaitForJob(a uint, d time.Duration, resp interface{}) error {
func (c *MockClient) WaitForJob(a uint, d time.Duration, extras, resp interface{}) error {
c.Extras = extras
_, err := c.finalize(resp)
return err
}
Expand Down

0 comments on commit 50fc449

Please sign in to comment.