feat(queryAsPath): implement endpoints
This commit is contained in:
parent
2016f35dcb
commit
4de3f712d2
14 changed files with 295 additions and 9 deletions
|
|
@ -19,9 +19,9 @@ tests {
|
|||
expect(res.getBody()).to.be.an('array');
|
||||
});
|
||||
|
||||
test("Array is not empty and contains numbers", function() {
|
||||
test("Array is not empty and contains Strings", function() {
|
||||
const data = res.getBody();
|
||||
expect(data[0]).to.be.a('number'); // data should be in number
|
||||
expect(data[0]).to.be.a('string'); // data should be in string
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -19,9 +19,9 @@ tests {
|
|||
expect(res.getBody()).to.be.an('array');
|
||||
});
|
||||
|
||||
test("Array is not empty and contains numbers", function() {
|
||||
test("Array is not empty and contains String", function() {
|
||||
const data = res.getBody();
|
||||
expect(data[0]).to.be.a('number'); // data should be in number
|
||||
expect(data[0]).to.be.a('string'); // data should be in String
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
16
ilp-cw-api/[GET] dronesWithCooling/invalid 200.bru
Normal file
16
ilp-cw-api/[GET] dronesWithCooling/invalid 200.bru
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
meta {
|
||||
name: null should return 200
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{API_BASE}}/dronesWithCooling/null
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue