mirror of
https://github.com/Fishwaldo/rundeck-api-java-client.git
synced 2025-07-07 21:48:30 +00:00
Add additional params to test
This commit is contained in:
parent
26f3038bb1
commit
f582fd773b
2 changed files with 2 additions and 4 deletions
|
@ -105,7 +105,7 @@ public class RundeckClientTest {
|
|||
@Betamax(tape = "get_history_user",
|
||||
match = {MatchRule.uri, MatchRule.method, MatchRule.path, MatchRule.query })
|
||||
public void getHistoryUser() throws Exception {
|
||||
final RundeckHistory test = client.getHistory("demo", "bob", (String)null, (List)null, null, null, null, null, null);
|
||||
final RundeckHistory test = client.getHistory("demo", "bob", (String)null, (List)null, null, null, null, 1L, 0L);
|
||||
Assert.assertEquals(1, test.getCount());
|
||||
Assert.assertEquals(20, test.getMax());
|
||||
Assert.assertEquals(0, test.getOffset());
|
||||
|
|
|
@ -4,10 +4,8 @@ interactions:
|
|||
- recorded: 2012-08-24T21:37:50.531Z
|
||||
request:
|
||||
method: GET
|
||||
uri: http://rundeck.local:4440/api/5/history?project=demo&userFilter=bob
|
||||
uri: http://rundeck.local:4440/api/5/history?project=demo&userFilter=bob&max=1&offset=0
|
||||
headers:
|
||||
Content-Length: '52'
|
||||
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
|
||||
Host: rundeck.localtest:8080
|
||||
Proxy-Connection: Keep-Alive
|
||||
User-Agent: RunDeck API Java Client 5
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue