EZP-20800: adapt LegacySolr test factory