Commit 3ee4821c authored by Aurel's avatar Aurel Committed by Arnaud Fontaine

column name is case sensitive

parent a21096c3
......@@ -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.assertIn('subject2', full_text_result[0]['searchabletext'])
self.assertIn('subject1', full_text_result[0]['searchabletext'])
self.assertIn(document.getReference(), full_text_result[0]['searchabletext'])
self.assertIn('subject2', full_text_result[0]['SearchableText'])
self.assertIn('subject1', full_text_result[0]['SearchableText'])
self.assertIn(document.getReference(), 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