[Rt-commit] rt branch, 4.0/sanity-check-url-config, updated. rt-3.9.7-1134-gcecdd64
Shawn Moore
sartak at bestpractical.com
Tue Dec 28 20:25:29 EST 2010
The branch, 4.0/sanity-check-url-config has been updated
via cecdd645659565a2a3e3187793fbc05da1ead2c6 (commit)
from c66f03325bb1c47f7734174abeb6458bb2031acf (commit)
Summary of changes:
t/api/web-config.t | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit cecdd645659565a2a3e3187793fbc05da1ead2c6
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Tue Dec 28 20:25:17 2010 -0500
A few WebBaseURL test tweaks
diff --git a/t/api/web-config.t b/t/api/web-config.t
index fb986f1..aa0356a 100644
--- a/t/api/web-config.t
+++ b/t/api/web-config.t
@@ -1,7 +1,7 @@
use strict;
use warnings;
use RT;
-use RT::Test nodb => 1, tests => 64;
+use RT::Test nodb => 1, tests => 65;
sub warnings_from {
my $option = shift;
@@ -106,8 +106,9 @@ is(warnings_from(WebPort => 443), 0);
# WebBaseURL
is(warnings_from(WebBaseURL => 'http://rt.example.com'), 0);
-is(warnings_from(WebBaseURL => 'xtp://rt.example.com'), 0, 'nonstandard schema is okay');
+is(warnings_from(WebBaseURL => 'xtp://rt.example.com'), 0, 'nonstandard schema is okay?');
is(warnings_from(WebBaseURL => 'http://rt.example.com:8888'), 0, 'nonstandard port is okay');
+is(warnings_from(WebBaseURL => 'https://rt.example.com:8888'), 0, 'nonstandard port with https is okay');
@w = warnings_from(WebBaseURL => '');
is(@w, 1);
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list