diff --git a/modules/locale/locale.test b/modules/locale/locale.test
index 854bd24..eb8d765 100644
--- a/modules/locale/locale.test
+++ b/modules/locale/locale.test
@@ -1886,7 +1886,7 @@ class LocaleUILanguageNegotiationTest extends DrupalWebTestCase {
 
     // Setup for domain negotiation, first configure the language to have domain
     // URL. We use https and a port to make sure that only the domain name is used.
-    $edit = array("domain[$langcode]" => "https://$language_domain:99");
+    $edit = array("domain[$langcode]" => "$language_domain");
     $this->drupalPost("admin/config/regional/language/configure/url", $edit, t('Save configuration'));
     // Set the site to use domain language negotiation.
 
