diff options
author | Ivan Kohler <ivan@freeside.biz> | 2015-07-26 15:41:26 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2015-07-26 15:41:26 -0700 |
commit | 9aee669886202be7035e6c6049fc71bc99dd3013 (patch) | |
tree | 2fd5bf6de74f3d99270587ffb1833e4188a6373d /rt/t/api/config.t | |
parent | ac20214d38d9af00430423f147b5a0e50751b050 (diff) | |
parent | 1add633372bdca3cc7163c2ce48363fed3984437 (diff) |
Merge branch 'master' of git.freeside.biz:/home/git/freeside
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 |