Do not reserve mailbox names

Now that user management is split from mailboxes, we don't need to
reserve mailbox names anymore.
This commit is contained in:
Girish Ramakrishnan
2018-04-25 20:59:27 -07:00
parent 34d40edef4
commit c2a762cb29
2 changed files with 0 additions and 12 deletions

View File

@@ -938,16 +938,6 @@ describe('Mail API', function () {
});
});
it('cannot add reserved group', function (done) {
superagent.post(SERVER_URL + '/api/v1/mail/' + DOMAIN_0.domain + '/lists')
.send({ name: LIST_NAME, members: [ 'Admin', USERNAME ]})
.query({ access_token: token })
.end(function (err, res) {
expect(res.statusCode).to.equal(400);
done();
});
});
it('add succeeds', function (done) {
superagent.post(SERVER_URL + '/api/v1/mail/' + DOMAIN_0.domain + '/lists')
.send({ name: LIST_NAME, members: [ 'admin2', USERNAME ]})