1
0
mirror of https://github.com/flarum/core.git synced 2025-10-26 05:06:06 +01:00
Commit Graph

6 Commits

Author SHA1 Message Date
Alexander Skvortsov
dd6897cb6f Update BuildsHttpRequests for new token system 2021-03-06 18:38:12 -05:00
Alexander Skvortsov
e8f3d23ded Configurable Tmp Dir Location (#2) 2021-02-10 08:59:08 -05:00
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
Alexander Skvortsov
167ffced5d Fix vendor path 2021-01-13 16:49:39 -05:00
Alexander Skvortsov
0dba5af52d Move setup script to importable class 2021-01-13 16:22:47 -05:00
Alexander Skvortsov
ba0fbd71e6 Move test infrastructure to Testing namespace in src directory 2021-01-13 01:27:05 -05:00