test: remove used of config.fqdn

This commit is contained in:
Girish Ramakrishnan
2018-01-25 13:51:17 -08:00
parent 6cb9779537
commit 669b94b0d1

View File

@@ -593,7 +593,7 @@ describe('User', function () {
maildb.update(DOMAIN_0.domain, { enabled: true }, function (error) {
expect(error).not.to.be.ok();
user.verifyWithEmail(USERNAME + '@' + config.fqdn(), PASSWORD, function (error, result) {
user.verifyWithEmail(USERNAME + '@' + DOMAIN_0.domain, PASSWORD, function (error, result) {
expect(error).to.not.be.ok();
expect(result).to.be.ok();