Commit 3b833d02 authored by Aurel's avatar Aurel Committed by Aurel

column name is case sensitive

parent 2f0e32bf
...@@ -2530,9 +2530,9 @@ return 1 ...@@ -2530,9 +2530,9 @@ return 1
self.tic() self.tic()
# full text indexation # full text indexation
full_text_result = portal.erp5_sql_connection.manage_test('select * from full_text where uid="%s"' %document.getUid()) full_text_result = portal.erp5_sql_connection.manage_test('select * from full_text where uid="%s"' %document.getUid())
self.assertIn('subject2', full_text_result[0]['searchabletext']) self.assertIn('subject2', full_text_result[0]['SearchableText'])
self.assertIn('subject1', full_text_result[0]['searchabletext']) self.assertIn('subject1', full_text_result[0]['SearchableText'])
self.assertIn(document.getReference(), full_text_result[0]['searchabletext']) self.assertIn(document.getReference(), full_text_result[0]['SearchableText'])
# subject indexation # subject indexation
for subject_list in (['subject1',], ['subject2',], for subject_list in (['subject1',], ['subject2',],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment