Quantcast
Viewing all articles
Browse latest Browse all 294806

SearchExcerptTestCase should be a WEBtestcase

SearchExcerptTestCase cannot be a UnitTest because it tries to invoke preprocess handlers (via search_simplify_excerpt_match) that need a hit to the db on module_list.

Attached patch converts SearchExcerptTestCase to a DrupalWebTestCase and corrects the snippet test on $longtext.

While similar warnings (Illegal string offset 'filename' on module_list 74) occur on SearchExpressionInsertExtractTestCase the root cause there is a bug in how module_list handles its fixed_list parameter. This is being discussed in #1563620: All unit tests blow up with a fatal error.

AttachmentSizeStatusTest resultOperations
fix_search_excerpt_test.patch1.33 KBIdlePASSED: [[SimpleTest]]: [MySQL] 40,334 pass(es).View details | Re-test

Viewing all articles
Browse latest Browse all 294806

Trending Articles