[Rt-commit] rt branch, 4.0/case-insensitive-article-search, updated. rt-4.0.5-137-g6dbe885

Jim Brandt jbrandt at bestpractical.com
Tue Jul 3 14:29:30 EDT 2012

The branch, 4.0/case-insensitive-article-search has been updated
       via  6dbe885a9565f866982574b0ec3e2935f0e5dd31 (commit)
      from  5e80e8ea754408a97f67480e0916b7e6a6371fe2 (commit)

Summary of changes:
 t/articles/search-interface.t | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit 6dbe885a9565f866982574b0ec3e2935f0e5dd31
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Tue Jul 3 14:23:26 2012 -0400

    Make case insensitive article search test TODO on mysql
    Case insensitive searches on BLOBs are not currently supported
    for MySQL, so make the test for LargeContent a TODO when
    running mysql.

diff --git a/t/articles/search-interface.t b/t/articles/search-interface.t
index f777793..bcba311 100644
--- a/t/articles/search-interface.t
+++ b/t/articles/search-interface.t
@@ -135,8 +135,11 @@ $m->text_contains('hoi polloi 4');
 # Case insensitive search on large field.
 DoArticleSearch($m, $class->Name, 'lorem');
 $m->text_contains('Search results'); # Did we do a search?
-$m->text_contains('hoi polloi 4');
+    local $TODO = 'Case insensitive search on LONGBLOB not available in MySQL'
+      if RT->Config->Get('DatabaseType') eq 'mysql';
+    $m->text_contains('hoi polloi 4');
 # When you send $m to this sub, it must be on a page with
 # a Search link.


More information about the Rt-commit mailing list