From 4fd16af3c27cd9f99c0dda77acd80ecec2353973 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Sat, 10 Oct 2015 12:14:49 -0700 Subject: [PATCH] check ldap and sendmail extensions --- test/app-flow-test.js | 6 ++++++ test/cloudron-backup-test.js | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/test/app-flow-test.js b/test/app-flow-test.js index 0123691..b41bd66 100644 --- a/test/app-flow-test.js +++ b/test/app-flow-test.js @@ -81,6 +81,8 @@ describe('Application flow test', function () { assert.strictEqual(res.body.postgresql, 'OK'); assert.strictEqual(res.body.mongodb, 'OK'); assert.strictEqual(res.body.localstorage, 'OK'); + assert.strictEqual(res.body.ldap, 'OK'); + assert.strictEqual(res.body.sendmail, 'OK'); }); it('can configure app', function () { @@ -95,6 +97,8 @@ describe('Application flow test', function () { assert.strictEqual(res.body.postgresql, 'OK'); assert.strictEqual(res.body.mongodb, 'OK'); assert.strictEqual(res.body.localstorage, 'OK'); + assert.strictEqual(res.body.ldap, 'OK'); + assert.strictEqual(res.body.sendmail, 'OK'); }); it('can reboot the cloudron', function () { @@ -108,6 +112,8 @@ describe('Application flow test', function () { assert.strictEqual(res.body.postgresql, 'OK'); assert.strictEqual(res.body.mongodb, 'OK'); assert.strictEqual(res.body.localstorage, 'OK'); + assert.strictEqual(res.body.ldap, 'OK'); + assert.strictEqual(res.body.sendmail, 'OK'); }); it('can uninstall app', function () { diff --git a/test/cloudron-backup-test.js b/test/cloudron-backup-test.js index 815ae11..70b3d3a 100644 --- a/test/cloudron-backup-test.js +++ b/test/cloudron-backup-test.js @@ -83,6 +83,8 @@ describe('Cloudron backup testing', function () { assert.strictEqual(res.body.postgresql, 'OK'); assert.strictEqual(res.body.mongodb, 'OK'); assert.strictEqual(res.body.localstorage, 'OK'); + assert.strictEqual(res.body.ldap, 'OK'); + assert.strictEqual(res.body.sendmail, 'OK'); }); it('can backup the box', function () { @@ -121,6 +123,8 @@ describe('Cloudron backup testing', function () { assert.strictEqual(res.body.postgresql, 'OK'); assert.strictEqual(res.body.mongodb, 'OK'); assert.strictEqual(res.body.localstorage, 'OK'); + assert.strictEqual(res.body.ldap, 'OK'); + assert.strictEqual(res.body.sendmail, 'OK'); }); it('can uninstall app', function () {