14 Commits

Author SHA1 Message Date
Ben Thomson
5e4916148f Revert Laravel Dusk changes (#4919)
The Browser tests will be made into a RainLab plugin. (https://github.com/rainlab/dusk-plugin)
2020-02-07 16:59:39 +08:00
Ben Thomson
65c3a88179
[Laravel 6] Add support for Laravel Dusk tests (#4919) 2020-02-03 12:21:04 +08:00
Ben Thomson
7e3136564f
Merge branch 'develop' into wip/laravel-5.9 2019-11-21 23:18:25 +08:00
Samuell
348040a4e4 Add permission support for fields, columns and filter scopes (#4520)
Credit to @Samuell1. Fixes #1837.
2019-10-09 16:41:53 -06:00
Luke Towers
c7a026c253 Add support for PHPUnit 7.0 2019-06-12 10:22:20 -06:00
Tomasz Strojny
956a234920 Add ability to specify the connection used for running tests (#4159)
Credit to @czerwonyd
2019-03-31 06:28:24 -06:00
Jim Cottrell
c419c38efd Reload October singletons in PluginTestCase for #3208 2017-10-27 18:22:31 -06:00
Samuel Georges
08e7fa4296 Adds a helper for fetching the plugin object
This is useful when you need to "boot" or "register" certain areas of the plugin itself, eg:

    $plugin = $this->getPluginObject();
    $plugin->registerSubscriptionEvents();

Calling boot() or register() may work too but not always, sometimes there can be things you don't want registered. Hence why it doesn't occur automatically.
2017-04-05 08:23:39 +10:00
Samuel Georges
8e3ff0c700 Update tests with minor API changes for Halcyon implementation 2016-03-17 07:58:42 +11:00
Mariano Custiel
3fdb0bcf81 Fixed the check for already processed plugins 2016-01-08 15:49:42 +01:00
Mariano Custiel
8c608b6a98 Rolled back unneeded change. 2016-01-08 15:44:37 +01:00
Mariano Custiel
902385b4e9 Removed check that made loop to always continue. Moved dependencies refresh to be done before the tested plugin refresh. 2016-01-08 15:34:40 +01:00
Samuel Georges
50812adcaf No flush abstract classes. No treat as test either. 2015-09-09 19:28:10 +10:00
Samuel Georges
0c8e813029 Create plugin unit test case
^- inspired by keios/oc-plugin-testsuite package
2015-08-08 15:35:22 +10:00