Return a bogus version to fix the tests

This commit is contained in:
Girish Ramakrishnan
2018-10-27 12:13:57 -07:00
parent 0307dc5145
commit 5996a107ed
4 changed files with 13 additions and 18 deletions

View File

@@ -94,7 +94,7 @@ describe('Server', function () {
superagent.get(SERVER_URL + '/api/v1/cloudron/status', function (err, res) {
expect(err).to.not.be.ok();
expect(res.statusCode).to.equal(200);
expect(res.body.version).to.equal('1.1.1-test');
expect(res.body.version).to.contain('-test');
done();
});
});