Validate alternate domain

this also sets up fqdn in the eventlog entries
This commit is contained in:
Girish Ramakrishnan
2019-09-27 10:25:26 -07:00
parent 4e47d0595d
commit 86586444a9
2 changed files with 48 additions and 42 deletions

View File

@@ -330,7 +330,7 @@ describe('App API', function () {
.query({ access_token: token })
.send({ manifest: APP_MANIFEST, location: 'some', accessRestriction: null, domain: 'doesnotexist.com' })
.end(function (err, res) {
expect(res.statusCode).to.equal(404);
expect(res.statusCode).to.equal(400);
expect(res.body.message).to.eql('No such domain');
done();
});