diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Communications/Tests/LoginServiceTests.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/OpenSim/Framework/Communications/Tests/LoginServiceTests.cs b/OpenSim/Framework/Communications/Tests/LoginServiceTests.cs index a78e093..6c18d06 100644 --- a/OpenSim/Framework/Communications/Tests/LoginServiceTests.cs +++ b/OpenSim/Framework/Communications/Tests/LoginServiceTests.cs | |||
@@ -95,9 +95,8 @@ namespace OpenSim.Framework.Communications.Tests | |||
95 | responseData["circuit_code"], Is.GreaterThanOrEqualTo(0) & Is.LessThanOrEqualTo(System.Int32.MaxValue)); | 95 | responseData["circuit_code"], Is.GreaterThanOrEqualTo(0) & Is.LessThanOrEqualTo(System.Int32.MaxValue)); |
96 | 96 | ||
97 | Regex capsSeedPattern | 97 | Regex capsSeedPattern |
98 | = new Regex("^http://" | 98 | = new Regex("^http://" + regionExternalName + ":" + NetworkServersInfo.DefaultHttpListenerPort |
99 | + regionExternalName | 99 | + "/CAPS/[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{8}0000/$"); |
100 | + ":9000/CAPS/[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{8}0000/$"); | ||
101 | 100 | ||
102 | Assert.That(capsSeedPattern.IsMatch((string)responseData["seed_capability"]), Is.True); | 101 | Assert.That(capsSeedPattern.IsMatch((string)responseData["seed_capability"]), Is.True); |
103 | } | 102 | } |