Commit Graph

13 Commits

Author SHA1 Message Date
Marc Jauvin 600fbd7cfa
Improve code readability for exists method (#5022) 2020-04-02 08:33:58 -06:00
Marc Jauvin 9aa6b9d9d1
Add more unit tests for the PluginManager (#4838) 2020-04-01 21:47:06 -06:00
Tobias Kündig 604f0d060d Make plugin dependency checks case-insensitive (#4337)
Normalize the plugin identifier before lookup in the `hasPlugin` call, which should allow plugin dependencies to resolve if mis-cased in the Plugin `$require` property.

Credit to @tobias-kuendig.
2019-07-02 22:12:29 +08:00
Ben Thomson 5b80ad2501
Add additional test cases for PluginManager (#4427)
- Add dependency tests
- Add tests that check wrong casing in requirements
- Clean up current tests
- Provides test case for https://github.com/octobercms/october/pull/4337
2019-07-02 15:34:41 +08:00
Siarhei Karavai 9581b23d1e Allow multiline changelog messages, preserve correct order of updates (#4083)
Credit to @GinoPane
2019-02-19 11:11:43 -06:00
Ben Thomson 2002fd6b4b Prevent plugins that cannot be instantiated from being loaded (#3956)
Credit to @bennothommo
2018-12-04 11:22:07 -06:00
Harmen Janssen a2a91a38e6 Added PluginManager::unregisterAll() (#3156) 2017-10-08 12:14:17 -06:00
Quezler cc17b679f1 Code dusting (#2826)
Code cleaning according to PSR-2 w/ exemptions (mostly dust).
2017-04-24 21:38:19 +10:00
Samuel Georges cd1edcb055 Add new suite for database testing 2015-09-09 19:28:47 +10:00
Samuel Georges 8c1d0aa7da Move plugin/theme fixtures so they are shared 2015-02-10 17:45:07 +11:00
Samuel Georges 2160ddf3e5 Fixes unit test - normalize plugin paths for Win systems 2015-01-05 11:46:33 +11:00
Sam Georges 73feabaf18 Fixes unit tests, also rename October\Test to October\Tester to remove conflict between real plugin of that name 2014-09-20 17:59:19 +10:00
Sam Georges 14e277e030 Create functional tests
Move unit tests to unit folder
2014-06-17 18:54:31 +10:00