Commit c4442bb9 authored by Aurel's avatar Aurel Committed by Kazuhiko Shiozaki

column name is case sensitive

parent 2f28d020
......@@ -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