From 6587f6ba7d047ddc1686c080090afe7d53365bd4 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Tue, 24 Apr 2012 11:35:56 -0700 Subject: first pass RT4 merge, RT#13852 --- rt/t/web/private-components.t | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'rt/t/web/private-components.t') 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"); -- cgit v1.2.1