[Rt-commit] rt branch, 4.2/custom-field-groupings, updated. rt-4.0.8-482-ga73772e

Alex Vandiver alexmv at bestpractical.com
Sat Nov 17 01:17:04 EST 2012


The branch, 4.2/custom-field-groupings has been updated
       via  a73772e0090f9085d659eb9a4903c546d1d6359a (commit)
      from  581d05e450d94728ccbb359a62d64fe953518f45 (commit)

Summary of changes:
 t/web/cf_groups.t       | 2 +-
 t/web/cf_groups_users.t | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit a73772e0090f9085d659eb9a4903c546d1d6359a
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Sat Nov 17 01:16:56 2012 -0500

    Pass a string as Pattern, as Pg doesn't strigify Regexp objects on insert

diff --git a/t/web/cf_groups.t b/t/web/cf_groups.t
index 4fed5b6..c8f493d 100644
--- a/t/web/cf_groups.t
+++ b/t/web/cf_groups.t
@@ -23,7 +23,7 @@ while ( my ($grouping, $cfs) = each %{ RT->Config->Get('CustomFieldGroupings')->
         Queue => '0',
         Description => 'A Testing custom field',
         Type => 'FreeformSingle',
-        Pattern => qr{^(?!bad value).*$},
+        Pattern => '^(?!bad value).*$',
     );
     ok $id, "custom field '$name' correctly created";
     $grouping =~ s/\W//g;
diff --git a/t/web/cf_groups_users.t b/t/web/cf_groups_users.t
index 5cd6590..f46477a 100644
--- a/t/web/cf_groups_users.t
+++ b/t/web/cf_groups_users.t
@@ -23,7 +23,7 @@ while (my ($group,$cfs) = each %{ RT->Config->Get('CustomFieldGroupings')->{'RT:
         Description => 'A custom field',
         LookupType => RT::User->new( $RT::SystemUser )->CustomFieldLookupType,
         Type => 'FreeformSingle',
-        Pattern => qr{^(?!bad value).*$},
+        Pattern => '^(?!bad value).*$',
     );
     ok $id, "custom field '$name' correctly created";
 

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


More information about the Rt-commit mailing list