[Rt-commit] r10015 - rtir/branches/2.3-EXPERIMENTAL/t

ruz at bestpractical.com ruz at bestpractical.com
Wed Dec 19 15:21:53 EST 2007


Author: ruz
Date: Wed Dec 19 15:21:43 2007
New Revision: 10015

Modified:
   rtir/branches/2.3-EXPERIMENTAL/t/rtir-test.pl

Log:
* return id of created ticket even if we can not see it

Modified: rtir/branches/2.3-EXPERIMENTAL/t/rtir-test.pl
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/t/rtir-test.pl	(original)
+++ rtir/branches/2.3-EXPERIMENTAL/t/rtir-test.pl	Wed Dec 19 15:21:43 2007
@@ -203,6 +203,7 @@
     }
     elsif ($content =~ /.*No permission to view newly created ticket #(\d+).*/g) {
         diag("\nNo permissions to view the ticket.\n") if($ENV{'TEST_VERBOSE'});
+        $id = $1;
     }
     return $id;
 }


More information about the Rt-commit mailing list