[Rt-commit] [rtir] 03/07: Condense 'incident reports' in the RTIR menu to 'reports'

Jesse Vincent jesse at bestpractical.com
Mon Mar 16 04:38:36 EDT 2015


This is an automated email from the git hooks/post-receive script.

jesse pushed a commit to branch 3.4/remove_old_constituencies
in repository rtir.

commit d0948e822f10ec6a2da8b6b0031c9a2490ef1369
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Mon Mar 16 01:36:28 2015 -0700

    Condense 'incident reports' in the RTIR menu to 'reports'
---
 html/Callbacks/RTIR/Elements/Tabs/Privileged | 2 +-
 t/002-test-reject.t                          | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/html/Callbacks/RTIR/Elements/Tabs/Privileged b/html/Callbacks/RTIR/Elements/Tabs/Privileged
index f74a4ca..ee57018 100644
--- a/html/Callbacks/RTIR/Elements/Tabs/Privileged
+++ b/html/Callbacks/RTIR/Elements/Tabs/Privileged
@@ -95,7 +95,7 @@ $root->child(
     path => RT::IR->HREFTo('Create.html?Lifecycle='.RT::IR->lifecycle_incident),
 );
 $root->child(
-    reports => title => loc('Incident Reports'),
+    reports => title => loc('Reports'),
     path => RT::IR->HREFTo('Search/Results.html?Lifecycle='. RT::IR->lifecycle_report)
 )->child(
     create => title => loc('Create'),
diff --git a/t/002-test-reject.t b/t/002-test-reject.t
index 85d813c..2480d9a 100644
--- a/t/002-test-reject.t
+++ b/t/002-test-reject.t
@@ -92,7 +92,7 @@ diag "test that after reject links to incidents are still there" if $ENV{'TEST_V
 
     # go to incident and check that we still can see the child
     $agent->display_ticket( $inc_id);
-    $agent->follow_link_ok({text => "Incident Reports", n => 2}, "Followed 'Incident Reports' link");
+    $agent->follow_link_ok({text => "Incident Reports"}, "Followed 'Incident Reports' link");
     $agent->form_number(3);
     $agent->tick( Statuses => 'rejected' );
     $agent->click('RefineStatus');
@@ -122,7 +122,7 @@ diag "test that after quick reject links to incidents are still there" if $ENV{'
 
     # go to incident and check that we still can see the child
     $agent->display_ticket( $inc_id);
-    $agent->follow_link_ok({text => "Incident Reports", n => 2}, "Followed 'Incident Reports' link");
+    $agent->follow_link_ok({text => "Incident Reports"}, "Followed 'Incident Reports' link");
     $agent->form_number(3);
     $agent->tick( Statuses => 'rejected' );
     $agent->click('RefineStatus');
@@ -141,7 +141,7 @@ diag "test that after bulk reject links to incidents are still there" if $ENV{'T
     }
 
     $agent->display_ticket( $id);
-    $agent->follow_link_ok({text => "Incident Reports"}, "Followed 'Incident Reports' link");
+    $agent->follow_link_ok({text => "Reports"}, "Followed 'Incident Reports' link");
     while($agent->content() !~ m{Display.html\?id=$id">$id</a>}) {
         last unless $agent->follow_link(text => 'Next');
     }
@@ -161,7 +161,7 @@ diag "test that after bulk reject links to incidents are still there" if $ENV{'T
 
     # go to incident and check that we still can see the child
     $agent->display_ticket( $inc_id);
-    $agent->follow_link_ok({text => "Incident Reports", n => 2}, "Followed 'Incident Reports' link");
+    $agent->follow_link_ok({text => "Incident Reports"}, "Followed 'Incident Reports' link");
     $agent->form_number(3);
     $agent->tick( Statuses => 'rejected' );
     $agent->click('RefineStatus');

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the rt-commit mailing list