[Rt-commit] rt branch 5.0/unique-conditions-and-actions updated. rt-5.0.3-297-g943722dce4

BPS Git Server git at git.bestpractical.com
Mon Mar 13 13:52:40 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 "rt".

The branch, 5.0/unique-conditions-and-actions has been updated
       via  943722dce42a2af9d7ca3bb695b55116ad4a4335 (commit)
      from  7c002a9e1349dd6d02b5779bca9cb1bc1068ff32 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 943722dce42a2af9d7ca3bb695b55116ad4a4335
Author: Ronaldo Richieri <ronaldo at bestpractical.com>
Date:   Mon Mar 13 10:50:53 2023 -0300

    Update initialdata roudtrip test with new expected warnings
    
    Since we now validate the uniqueness of conditions and actions, we
    get warnings when loading the initial data.

diff --git a/t/api/initialdata-roundtrip.t b/t/api/initialdata-roundtrip.t
index e55223acc7..23908bf286 100644
--- a/t/api/initialdata-roundtrip.t
+++ b/t/api/initialdata-roundtrip.t
@@ -1069,6 +1069,8 @@ for my $test (@tests) {
             qr/^Invalid value for Name$/,
             qr/^Queue already exists$/,
             qr/^Invalid Name \(names must be unique and may not be all digits\)$/,
+            qr/^Name already in use by another action$/,
+            qr/^Name already in use by another condition$/,
         );
 
         # Avoid reporting this anonymous call frame as the source of the warning

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

Summary of changes:
 t/api/initialdata-roundtrip.t | 2 ++
 1 file changed, 2 insertions(+)


hooks/post-receive
-- 
rt


More information about the rt-commit mailing list