summaryrefslogtreecommitdiff
path: root/rt/t/web/basic.t
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-07-09 22:32:26 -0700
committerIvan Kohler <ivan@freeside.biz>2015-07-09 22:32:26 -0700
commit026dc7ad72ba972f230b6709e31fa64397d75ad4 (patch)
treec5af1a7ac9154744afc3660e9a9405892f2bb50b /rt/t/web/basic.t
parent07b4bc84d1078f7390221d766cdb3142513db4b0 (diff)
parent1c538bfabc2cd31f27067505f0c3d1a46cba6ef0 (diff)
merge RT 4.2.11 and Header changes to disable RT javascript, RT#34237
Diffstat (limited to 'rt/t/web/basic.t')
-rw-r--r--rt/t/web/basic.t12
1 files changed, 5 insertions, 7 deletions
diff --git a/rt/t/web/basic.t b/rt/t/web/basic.t
index 02483b208..79c247d24 100644
--- a/rt/t/web/basic.t
+++ b/rt/t/web/basic.t
@@ -2,7 +2,7 @@
use strict;
use warnings;
-use RT::Test tests => 23;
+use RT::Test tests => 24;
my ($baseurl, $agent) = RT::Test->started_ok;
@@ -71,16 +71,15 @@ my $url = $agent->rt_base_url;
fields => { TimeWorked => 5, 'TimeWorked-TimeUnits' => "hours" }
);
- $agent->content_contains("to &#39;300&#39;", "5 hours is 300 minutes");
+ $agent->content_contains("5 hours", "5 hours is displayed");
+ $agent->content_contains("300 min", "but minutes is also");
}
-TODO: {
- todo_skip("Need to handle mason trying to compile images",1);
-$agent->get( $url."NoAuth/images/test.png" );
+$agent->get( $url."static/images/test.png" );
my $file = RT::Test::get_relocatable_file(
File::Spec->catfile(
- qw(.. .. share html NoAuth images test.png)
+ qw(.. .. share static images test.png)
)
);
is(
@@ -88,7 +87,6 @@ is(
-s $file,
"got a file of the correct size ($file)",
);
-}
#
# XXX: hey-ho, we have these tests in t/web/query-builder