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/mail/dashboard-chart-with-utf8.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/mail/dashboard-chart-with-utf8.t')
-rw-r--r-- | rt/t/mail/dashboard-chart-with-utf8.t | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/rt/t/mail/dashboard-chart-with-utf8.t b/rt/t/mail/dashboard-chart-with-utf8.t index 37f8ce0c6..4fe483a1b 100644 --- a/rt/t/mail/dashboard-chart-with-utf8.t +++ b/rt/t/mail/dashboard-chart-with-utf8.t @@ -1,16 +1,10 @@ use strict; use warnings; -BEGIN { - require RT::Test; +use RT::Test tests => undef; - if (eval { require GD }) { - RT::Test->import(tests => 15); - } - else { - RT::Test->import(skip_all => 'GD required.'); - } -} +plan skip_all => 'GD required' + unless GD->require; my $root = RT::Test->load_or_create_user( Name => 'root' ); @@ -29,6 +23,7 @@ $m->submit_form( fields => { SavedSearchDescription => 'chart foo', SavedSearchOwner => 'RT::User-' . $root->id, + ChartStyle => 'bar', }, button => 'SavedSearchSave', ); @@ -88,3 +83,5 @@ if ( my $io = $handle->open('r') ) { } is( $mail_image_data, $image, 'image in mail is the same one in web' ); +undef $m; +done_testing; |