diff --git a/product/ZSQLCatalog/tests/testZSQLCatalog.py b/product/ZSQLCatalog/tests/testZSQLCatalog.py
index 155c60a66c34a73792678fa212504d9797019000..84e133bb72d958be63ac3e21005c0b0390bad508 100644
--- a/product/ZSQLCatalog/tests/testZSQLCatalog.py
+++ b/product/ZSQLCatalog/tests/testZSQLCatalog.py
@@ -378,7 +378,7 @@ class TestQuery(unittest.TestCase):
                 q.asSQLExpression())
 
   def testQuotedStringKeywordKey(self):
-    q = Query(title='Foo d\'Ba', type='keyword')
+    q = Query(title='Foo d\'Ba', key='Keyword')
     self.assertEquals(
               dict(where_expression="((((title LIKE '%Foo d''Ba%'))))",
                    select_expression_list=[]),