diff options
author | Mark Wells <mark@freeside.biz> | 2015-07-10 18:15:08 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2015-07-10 18:15:08 -0700 |
commit | 88bf5db0cca989c51237c661a13078eef08b3674 (patch) | |
tree | 0a84e1b5e7fd239f57fab678bf40c5311b0064a0 /rt/t/web/basic.t | |
parent | 9c15ffe3a5ee987e30e10c6a0ad1b5bf0b2a12e3 (diff) | |
parent | e7eb845db1afab1cbdbc34ff9c387c5ac554659e (diff) |
Merge branch 'FREESIDE_4_BRANCH' of git.freeside.biz:/home/git/freeside into 4.x
Diffstat (limited to 'rt/t/web/basic.t')
-rw-r--r-- | rt/t/web/basic.t | 12 |
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 '300'", "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 |