summaryrefslogtreecommitdiff
path: root/domain_test.go
diff options
context:
space:
mode:
authorHorus32015-05-17 03:32:03 +0200
committerHorus32015-05-17 03:32:03 +0200
commitcc207536d1f8618385d9807906818180cd596777 (patch)
tree0093a6b12994c3d75b2be0abb6a43dae1eb9bf98 /domain_test.go
parentfeb97c32649dfaa7c98283423125283a53d5dd09 (diff)
downloadfreemail-cc207536d1f8618385d9807906818180cd596777.tar.gz
Improve tests. Fix (major) typos. Include Piwik and it tracks the language.
Diffstat (limited to 'domain_test.go')
-rw-r--r--domain_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/domain_test.go b/domain_test.go
index af80d0d..1d3dde6 100644
--- a/domain_test.go
+++ b/domain_test.go
@@ -54,7 +54,7 @@ func TestValidateDomainMX(t *testing.T) {
if d.ValidateDomainMX(os.Getenv("FREEMAIL_SMTP_MAILER_MX")) {
t.Fatal("google.cm MX record doesn't point to this server.")
}
- d.Name = "iamfabulous.de"
+ d.Name = os.Getenv("FREEMAIL_SMTP_MAILER_MX")
if !d.ValidateDomainMX(os.Getenv("FREEMAIL_SMTP_MAILER_MX")) {
t.Fatal(os.Getenv("FREEMAIL_SMTP_MAILER_MX") + " MX should point to this server.")
}