mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 07:50:24 +08:00

Core's ExtensionManager only looks for extensions in the vendor directory, which makes sense for a Flarum instance, but is problematic if used in the context of a test suite for an extension. This PR: - Adds a class extending ExtensionManager to include the current package - Adds an extender that replaces ExtensionManager with this new class in container bindings Effectively, this package can now be used to test extensions.