diff options
author | Ivan Kohler <ivan@freeside.biz> | 2015-07-09 22:32:26 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2015-07-09 22:32:26 -0700 |
commit | 026dc7ad72ba972f230b6709e31fa64397d75ad4 (patch) | |
tree | c5af1a7ac9154744afc3660e9a9405892f2bb50b /rt/t/api/config.t | |
parent | 07b4bc84d1078f7390221d766cdb3142513db4b0 (diff) | |
parent | 1c538bfabc2cd31f27067505f0c3d1a46cba6ef0 (diff) |
merge RT 4.2.11 and Header changes to disable RT javascript, RT#34237
Diffstat (limited to 'rt/t/api/config.t')
-rw-r--r-- | rt/t/api/config.t | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/rt/t/api/config.t b/rt/t/api/config.t index 62b77dffa..b87531139 100644 --- a/rt/t/api/config.t +++ b/rt/t/api/config.t @@ -1,7 +1,7 @@ use strict; use warnings; use RT; -use RT::Test nodb => 1, tests => 11; +use RT::Test nodb => 1, tests => undef; use Test::Warn; ok( @@ -39,5 +39,11 @@ my @encodings = qw(utf-8-strict iso-8859-1 ascii); warning_is {RT::Config->PostLoadCheck} "Unknown encoding 'foo' in \@EmailInputEncodings option", 'Correct warning for encoding foo'; +RT::Config->Set( WebDefaultStylesheet => 'non-existent-skin-name' ); +warning_like {RT::Config->PostLoadCheck} qr{rudder}, + 'Correct warning for default stylesheet'; + my @canonical_encodings = RT::Config->Get('EmailInputEncodings'); is_deeply(\@encodings, \@canonical_encodings, 'Got correct encoding list'); + +done_testing;
\ No newline at end of file |