Problem/Motivation
CoreServiceProvider currently provides services that are only applicable to tests. We should separate test from runtime code.
Steps to reproduce
Proposed resolution
Register middleware in FunctionalTestSetupTrait instead
CoreServiceProvider currently provides services that are only applicable to tests. We should separate test from runtime code.
Register middleware in FunctionalTestSetupTrait instead