feat: added getFieldsByAppId integration tests
This commit is contained in:
@@ -59,7 +59,7 @@ describe('getApps', function () {
|
||||
expect(response.data.items).to.not.be.null;
|
||||
|
||||
if (response.data.items != null) {
|
||||
expect(response.data.items.length).to.be.greaterThan(0);
|
||||
expect(response.data.items.length).to.equal(1);
|
||||
response.data.items.forEach((item) => {
|
||||
expect(item.id).to.not.be.null;
|
||||
expect(item.name).to.not.be.null;
|
||||
@@ -75,7 +75,7 @@ describe('getApps', function () {
|
||||
|
||||
expect(response.statusCode).to.equal(400);
|
||||
expect(response.isSuccessful).to.be.false;
|
||||
expect(response.message).to.not.be.null;
|
||||
expect(response.message).to.not.be.undefined.and.not.be.null;
|
||||
expect(response.data).to.be.null;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user