feat: added getFieldsByAppId integration tests

This commit is contained in:
StevanFreeborn
2023-02-14 22:14:45 -06:00
parent 927fcd42b3
commit 4fe1d7c4a7
5 changed files with 146 additions and 7 deletions
+2 -2
View File
@@ -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;
});