33 Commits

Author SHA1 Message Date
Ben Thomson
92ab25c582
PHP 8 compatibility (#5357)
PHP support
2021-03-05 18:20:44 +11:00
Saifur Rahman Mohsin
d95e282910
Fixes OptionsGeneration Test failing (#5327)
As [mentioned here](9dca130fae (commitcomment-43513975)), this fixes the test failure.

Co-authored-by: Luke Towers <github@luketowers.ca>
2020-11-21 09:45:20 +08:00
Luke Towers
9dca130fae Add unit tests for the different ways of providing field options 2020-09-11 11:33:44 -06:00
Luke Towers
ad69711634 Merge branch 'develop' into wip/laravel-6 2020-06-11 10:38:29 -06:00
Luke Towers
d64c3850ff fix tests, not required since decompileAssets() supports even invalid assets now 2020-06-05 15:59:20 -06:00
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
2c529cf753
Update unit tests to not rely on deprecated methods of testing 2020-01-19 17:27:38 +08:00
Ben Thomson
ae63b096f7
Fix test case incompatibilities, clean up ignores 2020-01-19 16:33:06 +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
Dan Harrin
919835e5de Add method removePermission() for AuthManager (#4522)
Allows programmatic removal of permissions being listed in Permission selection widget.

Credit to @DanHarrin.
2019-09-21 23:42:11 +08:00
Ben Thomson
a67ccfe993
Allow decompiled Backend JS assets (#4549)
This change will allow the individual JS assets that are compiled into a full compilation file to be loaded individually instead, allowing the developer to see their changes immediately. It introduces a new configuration variable, `cms.decompileBackendAssets`, that controls this functionality. By default, it is false and not tied to the debug value, requiring it to be explicitly enabled.
2019-08-16 16:19:16 +08:00
Ben Thomson
a59d3b83eb Code quality clean up (#4449)
Credit to @bennothommo
2019-07-18 08:50:37 -06:00
Luke Towers
c7a026c253 Add support for PHPUnit 7.0 2019-06-12 10:22:20 -06: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
Nicolas Da Mutten
2372f0eb23 Adds missing Content-Type header to CSV-export (#3787)
Credit to @cleverer
2018-09-25 08:55:14 -06:00
Samuel Georges
ba4eba183d Keep the good unit test from #3195 2018-04-06 11:05:31 +10:00
Gabriel Caruso
aa14d77516 Refactoring tests (#3291) 2018-01-07 19:55:53 -06:00
Oscar Arzola
a7d20211ae Fixed Formatting and added docblock 2017-06-02 09:51:13 -05:00
Oscar Arzola
0bd12cf0e6 Added Extensibility to ReportWidgets 2017-05-30 16:49:35 -05: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
1c8d021a35 Adds the ability to remove navigation items
Included tests
Refs #1413
2015-09-12 08:45:58 +10:00
Samuel Georges
5c3dd4f145 Add tests that verify the truth of #1343
Plugins should be able to call NavigationManager::addSideMenuItems() without error
2015-08-08 12:28:15 +10:00
Samuel Georges
4e99ea6435 Add tests for Import/Export models 2015-08-04 21:03:42 +10:00
Samuel Georges
bb4c2da404 Revert change from #1315, fixes original issue, write tests 2015-07-28 18:52:12 +10:00
Samuel Georges
c7f54ef010 Fixes WidgetManagerTest 2015-07-25 11:05:58 +10:00
Samuel Georges
bd2b9f2770 Rem incomplete tests 2015-03-02 16:05:26 +11:00
Samuel Georges
610ea932fc Fixes #856 - Implement a linking policy, defaults to relative 2015-02-09 21:52:17 +11:00
Samuel Georges
dc6098c089 Create unit tests for WidgetMaker trait 2015-01-05 13:22:40 +11:00
Sam Georges
79fd2e2afe Adds colorpicker form widget, add initial form for customizing backend 2014-10-03 18:01:37 +10:00
vagrant
848376028f Add test for makeWidget() 2014-09-20 10:33:09 +00:00
Sam Georges
14e277e030 Create functional tests
Move unit tests to unit folder
2014-06-17 18:54:31 +10:00