import rt 3.8.10
[freeside.git] / rt / t / web / richtext-autohandler.t
1 use strict;
2
3 use RT::Test tests => 7;
4 my ($baseurl, $agent) = RT::Test->started_ok;
5
6 $agent->get("$baseurl/NoAuth/RichText/FCKeditor/license.txt");
7 is($agent->status, 403);
8 $agent->content_lacks("It is not the purpose of this section to induce");
9
10 $agent->get_ok("/NoAuth/RichText/license.txt");
11 $agent->content_contains("It is not the purpose of this section to induce");
12
13 $agent->warning_like(qr/Invalid request directly to the rich text editor/,);