[Rt-commit] rtir branch 5.0/fix-sql-space-in-tests created. 5.0.4-7-g3183574f

BPS Git Server git at git.bestpractical.com
Tue Nov 28 21:57:11 UTC 2023


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rtir".

The branch, 5.0/fix-sql-space-in-tests has been created
        at  3183574ff05e23ca20b3181bc9bffc94bfee33f7 (commit)

- Log -----------------------------------------------------------------
commit 3183574ff05e23ca20b3181bc9bffc94bfee33f7
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Tue Nov 28 16:46:15 2023 -0500

    Update tests to remove the extra space from generated SQL
    
    RT commit 863714d30a fixes the duplicated space issue, this commit
    updates tests accordingly.

diff --git a/t/searches/menu.t b/t/searches/menu.t
index 00960b4c..a83b0746 100644
--- a/t/searches/menu.t
+++ b/t/searches/menu.t
@@ -116,7 +116,7 @@ for my $type ( 'incident', 'ir', 'investigation', 'countermeasure' ) {
     my ($input_query) = $m->find_all_inputs( name => 'Query' );
     is(
         $input_query->value,
-        q{( Lifecycle = 'incident_reports' ) AND (  Status = 'new' OR Status = 'open' ) AND MemberOf != 1},
+        q{( Lifecycle = 'incident_reports' ) AND ( Status = 'new' OR Status = 'open' ) AND MemberOf != 1},
         'Query input is correct'
     );
 

-----------------------------------------------------------------------


hooks/post-receive
-- 
rtir


More information about the rt-commit mailing list