X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Ft%2Farticles%2Fupload-customfields.t;h=29bd677ca224e86ca6c49ee3328fd62f95f9dabf;hb=0ed195595b5c7ea404c8848d9d1881ada4214489;hp=e5ed5d1903182d69cd737804a9b72a736a6f03b2;hpb=3d0a1bb06b895c5be6e3f0517d355442a6b1e125;p=freeside.git diff --git a/rt/t/articles/upload-customfields.t b/rt/t/articles/upload-customfields.t index e5ed5d190..29bd677ca 100644 --- a/rt/t/articles/upload-customfields.t +++ b/rt/t/articles/upload-customfields.t @@ -8,12 +8,12 @@ use RT; my $logo; BEGIN { $logo = - -e $RT::MasonComponentRoot . '/NoAuth/images/bpslogo.png' + -e $RT::StaticPath . '/images/bpslogo.png' ? 'bpslogo.png' : 'bplogo.gif'; } -use constant ImageFile => $RT::MasonComponentRoot . "/NoAuth/images/$logo"; +use constant ImageFile => $RT::StaticPath . "/images/$logo"; use constant ImageFileContent => do { local $/; @@ -25,14 +25,14 @@ use constant ImageFileContent => do { use RT::Class; my $class = RT::Class->new($RT::SystemUser); my ($ret, $msg) = $class->Create('Name' => 'tlaTestClass-'.$$, - 'Description' => 'A general-purpose test class'); + 'Description' => 'A general-purpose test class'); ok($ret, "Test class created"); my ($url, $m) = RT::Test->started_ok; isa_ok($m, 'Test::WWW::Mechanize'); ok($m->login, 'logged in'); -$m->follow_link_ok( { text => 'Configuration' } ); +$m->follow_link_ok( { text => 'Admin' } ); $m->title_is(q/RT Administration/, 'admin screen'); $m->follow_link_ok( { text => 'Custom Fields' } ); $m->title_is(q/Select a Custom Field/, 'admin-cf screen');