diff options
Diffstat (limited to 'rt/t/web/private-components.t')
-rw-r--r-- | rt/t/web/private-components.t | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/rt/t/web/private-components.t b/rt/t/web/private-components.t index 30e145f34..ceb2b34af 100644 --- a/rt/t/web/private-components.t +++ b/rt/t/web/private-components.t @@ -1,6 +1,6 @@ use strict; -use RT::Test tests => 20; +use RT::Test tests => 24; my ($baseurl, $agent) = RT::Test->started_ok; ok $agent->login, 'logged in'; @@ -18,6 +18,10 @@ $agent->get("/Widgets/TitleBox?title=private"); is($agent->status, 403); $agent->content_lacks("private"); +$agent->get("/m/_elements/header?title=private"); +is($agent->status, 403); +$agent->content_lacks("private"); + $agent->get("/autohandler"); is($agent->status, 403); $agent->content_lacks("comp called without component"); |