test(agent-task/capi): fix test case args
Signed-off-by: Babak K. Shandiz <babakks@github.com>
This commit is contained in:
parent
d52502b638
commit
0a9a4a4250
1 changed files with 1 additions and 1 deletions
|
|
@ -1039,7 +1039,7 @@ func TestListSessionsByResourceIDRequiresResource(t *testing.T) {
|
|||
assert.EqualError(t, err, "missing resource type/ID")
|
||||
_, err = client.ListSessionsByResourceID(context.Background(), "only-resource-type", 0, 0)
|
||||
assert.EqualError(t, err, "missing resource type/ID")
|
||||
_, err = client.ListSessionsByResourceID(context.Background(), "", 999, 0)
|
||||
_, err = client.ListSessionsByResourceID(context.Background(), "", 0, 0)
|
||||
assert.EqualError(t, err, "missing resource type/ID")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue