diff --git a/product/ZSQLCatalog/tests/testZSQLCatalog.py b/product/ZSQLCatalog/tests/testZSQLCatalog.py index e5b783ec79d12bcd80609b84fbd59977e3b27f06..155c60a66c34a73792678fa212504d9797019000 100644 --- a/product/ZSQLCatalog/tests/testZSQLCatalog.py +++ b/product/ZSQLCatalog/tests/testZSQLCatalog.py @@ -387,8 +387,8 @@ class TestQuery(unittest.TestCase): def testQuotedStringFullTextKey(self): q = Query(title='Foo d\'Ba', type='fulltext') self.assertEquals( - dict(where_expression="MATCH title AGAINST ('Foo d''Ba' )", - select_expression_list=["MATCH title AGAINST ('Foo d''Ba' )" + dict(where_expression="MATCH title AGAINST ('+Foo +d''Ba' IN BOOLEAN MODE)", + select_expression_list=["MATCH title AGAINST ('+Foo +d''Ba' IN BOOLEAN MODE)" " AS title_relevance"]), q.asSQLExpression())