diff options
author | Ivan Kohler <ivan@freeside.biz> | 2015-07-09 22:32:26 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2015-07-09 22:32:26 -0700 |
commit | 026dc7ad72ba972f230b6709e31fa64397d75ad4 (patch) | |
tree | c5af1a7ac9154744afc3660e9a9405892f2bb50b /rt/t/articles/upload-customfields.t | |
parent | 07b4bc84d1078f7390221d766cdb3142513db4b0 (diff) | |
parent | 1c538bfabc2cd31f27067505f0c3d1a46cba6ef0 (diff) |
merge RT 4.2.11 and Header changes to disable RT javascript, RT#34237
Diffstat (limited to 'rt/t/articles/upload-customfields.t')
-rw-r--r-- | rt/t/articles/upload-customfields.t | 8 |
1 files changed, 4 insertions, 4 deletions
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'); |