Commit 6f171b85 authored by Aurel's avatar Aurel

column name is case sensitive

parent 3a0fb4c9
......@@ -2530,9 +2530,9 @@ return 1
self.tic()
# full text indexation
full_text_result = portal.erp5_sql_connection.manage_test('select * from full_text where uid="%s"' %document.getUid())
self.assertTrue('subject2' in full_text_result[0]['searchabletext'])
self.assertTrue('subject1' in full_text_result[0]['searchabletext'])
self.assertTrue(document.getReference() in full_text_result[0]['searchabletext'])
self.assertTrue('subject2' in full_text_result[0]['SearchableText'])
self.assertTrue('subject1' in full_text_result[0]['SearchableText'])
self.assertTrue(document.getReference() in full_text_result[0]['SearchableText'])
# subject indexation
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