Simple forum software for building great communities.
Go to file
Alexander Skvortsov 6eafce0660 If current package is an extension, add it to the extension manager (#1)
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.
2021-01-24 12:13:27 -05:00
php-packages/testing If current package is an extension, add it to the extension manager (#1) 2021-01-24 12:13:27 -05:00