[Rt-commit] [rtir] 14/24: Switch tests that depend on queue name to use lifecycle instead
Jesse Vincent
jesse at bestpractical.com
Mon Feb 9 00:25:22 EST 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 c9ecc47fa17b49be75313be00b6951c73442f9d9
Author: Jesse Vincent <jesse at bestpractical.com>
Date: Sun Feb 8 19:30:51 2015 -0800
Switch tests that depend on queue name to use lifecycle instead
---
t/searches/menu.t | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/t/searches/menu.t b/t/searches/menu.t
index 0cc9f69..1421b5e 100644
--- a/t/searches/menu.t
+++ b/t/searches/menu.t
@@ -63,7 +63,7 @@ for my $type ( 'incident', 'ir', 'investigation', 'block' ) {
$m->follow_link_ok( { text => "Edit Search", n => 2 } );
$m->form_name('BuildQuery');
my ($input_query) = $m->find_all_inputs( name => 'Query' );
- is( $input_query->value, q{( Queue = 'Incidents' ) AND Status = 'open'}, 'Query input is correct' );
+ is( $input_query->value, q{( Lifecycle = 'incidents' ) AND Status = 'open'}, 'Query input is correct' );
$m->submit_form_ok(
{
@@ -100,7 +100,7 @@ for my $type ( 'incident', 'ir', 'investigation', 'block' ) {
my ($input_query) = $m->find_all_inputs( name => 'Query' );
is(
$input_query->value,
- q{( Queue = 'Incident Reports' ) AND ( Status = 'new' OR Status = 'open' )},
+ q{( Lifecycle = 'incident_reports' ) AND ( Status = 'new' OR Status = 'open' )},
'Query input is correct'
);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the rt-commit
mailing list