[Rt-commit] [rtir] 22/22: Switch some test ticket creation to load by queue rather than lifecycle for great constituency testing justice
Jesse Vincent
jesse at bestpractical.com
Sun Mar 29 02:51:07 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 19f7b93375201d4c25b78af64e3eef220a3ca52b
Author: Jesse Vincent <jesse at bestpractical.com>
Date: Sat Mar 28 23:50:07 2015 -0700
Switch some test ticket creation to load by queue rather than lifecycle
for great constituency testing justice
---
lib/RT/IR/Test/Web.pm | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/lib/RT/IR/Test/Web.pm b/lib/RT/IR/Test/Web.pm
index 52e3e35..9ad6643 100644
--- a/lib/RT/IR/Test/Web.pm
+++ b/lib/RT/IR/Test/Web.pm
@@ -74,11 +74,14 @@ sub goto_create_rtir_ticket {
my $self = shift;
my $queue = shift; # we play a dumb game to change queues to lifecycles
local $Test::Builder::Level = $Test::Builder::Level + 1;
-
my $lifecycle = lc( $queue);
$lifecycle =~ s/ /_/;
- $self->get_ok("/RTIR/Create.html?Lifecycle=$lifecycle");
+# $self->get_ok("/RTIR/Create.html?Lifecycle=$lifecycle");
+
+
+ $self->get_ok("/RTIR/Create.html?Queue=$queue");
+
# set the form
return $self->form_number(3);
}
@@ -150,7 +153,6 @@ sub create_incident_for_ir {
$self->set_custom_field( 'Incidents', $f, $v);
}
- #warn $self->content;
my @submits = $self->find_all_inputs(id => 'create-ticket');
$self->click_button(input=>$submits[0]);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the rt-commit
mailing list