While working on #2711697: Facet calculations are in the wrong order., I noticed that our tests don't all take the easiest way to create a facet.
Deleting code feels the best, so attached patch deletes a whole bunch of code in the tests.
borisson_ created an issue. See original summary.
A little more cleanup.
Issue #2717903 by borisson_: Cleanup for tests
Automatically closed - issue fixed for 2 weeks with no activity.
Drupal is a registered trademark of Dries Buytaert.