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
9be2decce3
Fix guarding for fixtures now that models aren't unguarded by seeders
2020-01-19 22:41:28 +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
5d3d4ad0b2
Merge branch 'develop' into wip/laravel-5.9
2020-01-18 21:00:40 +08:00
Larry Barker
2b05d01c6c
Support additional file name and path characters in media manager ( #4564 )
...
* Support additional file name and path characters in media manager
When working with abstract file names that may contain additional characters, such as quotes or ampersands, the media manager would throw an error. This PR adds two additional characters to the character whitelist.
* Add unicode filename to tests
2019-12-05 19:44:04 +11:00
Ben Thomson
7e3136564f
Merge branch 'develop' into wip/laravel-5.9
2019-11-21 23:18:25 +08:00
Ben Thomson
07d74ebb1b
Fix sync command, minor cleanup ( #4645 )
...
Fixes #4642 , adds some unit testing for the AutoDatasource. Credit to @bennothommo
2019-10-09 08:54:13 -06:00
Dan Harrin
67c9decb20
Standardise use of [] vs array() ( #4548 )
...
Credit to @DanHarrin
2019-08-14 20:46:36 -06:00
Ben Thomson
a59d3b83eb
Code quality clean up ( #4449 )
...
Credit to @bennothommo
2019-07-18 08:50:37 -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
Luke Towers
c7a026c253
Add support for PHPUnit 7.0
2019-06-12 10:22:20 -06:00
Siarhei Karavai
2e0d2d3888
Allow subdirectories in migration file names ( #4225 )
...
Credit to @GinoPane. Fixes #4224 .
2019-03-31 08:46:33 -06:00
Siarhei Karavai
8606db9e77
Add support for file names with multiple dots ( #4211 )
...
Fixes #4210 . Credit to @GinoPane
2019-03-25 09:57:06 -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
Ben Thomson
2002fd6b4b
Prevent plugins that cannot be instantiated from being loaded ( #3956 )
...
Credit to @bennothommo
2018-12-04 11:22:07 -06:00
Nicolas Da Mutten
aeb7616d06
Automatically use local asset path when attempting to combine injected assets ( #3802 )
...
Credit to @cleverer. Fixes #3264 .
2018-09-24 14:17:00 -06:00
chrisbethelepb
0ffdbc5efd
Relax restrictions on MediaLibrary filenames ( #3778 )
...
Fixes #3741 . Credit to @chrisbethelepb
2018-09-12 11:37:21 -06:00
Samuel Georges
fb2aa1730c
Fixes security issue
...
Refs #3604
2018-06-22 22:57:38 +10:00
Viamage
749cbace1b
MediaLibrary test updates ( #3580 )
...
Updates for depreciated methods and empty tests
2018-06-04 16:48:45 -06:00
Gabriel Caruso
aa14d77516
Refactoring tests ( #3291 )
2018-01-07 19:55:53 -06:00
Samuel Georges
669a4cee6e
Merge branch 'maintenance-mediamanager' into develop
2017-10-16 17:56:34 +11:00
Luke Towers
48b97a3178
Moved MediaLibrary test to the system module
2017-10-08 23:16:18 -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
649e1cfaa7
Fixes test
2016-06-04 06:13:25 +10:00
Samuel Georges
8f68269b27
Fixes unit test
2016-01-04 18:10:35 +11:00
Samuel Georges
971f7c5053
Fixes test class conflict
...
Refs https://github.com/octobercms/library/pull/151
2015-12-19 11:49:31 +11:00
Samuel Georges
cd1edcb055
Add new suite for database testing
2015-09-09 19:28:47 +10:00
Samuel Georges
3a2b94829a
Fixes syntax error in "system/lv" lang, write test to prevent further breakages
2015-07-29 08:20:22 +10:00
Samuel Georges
04248c72ed
Fixes unit tests
2015-07-25 11:49:26 +10:00
Samuel Georges
bd2b9f2770
Rem incomplete tests
2015-03-02 16:05:26 +11:00
Samuel Georges
83b54c043c
Fixes unit tests so they pass
2015-03-02 16:02:13 +11:00
Samuel Georges
8c1d0aa7da
Move plugin/theme fixtures so they are shared
2015-02-10 17:45:07 +11:00
Samuel Georges
c4cef299dd
Fixes #828 - php artisan october:util compile assets
2015-01-12 20:08:53 +11:00
Samuel Georges
2160ddf3e5
Fixes unit test - normalize plugin paths for Win systems
2015-01-05 11:46:33 +11:00
Samuel Georges
65845686c4
Fixes unit tests
2014-12-10 17:42:50 +11:00
Sam Georges
9f5646d273
BackendSettings -> BrandSettings
...
pageTitle is now translated at the end of the line
Fixed unit tests so they pass
SettingsModels are now cached
2014-10-15 19:53:44 +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
3c7c87b338
Fixes #254 add Laravel helper functions to Twig environment
2014-07-16 10:30:39 +10:00
Sam Georges
14e277e030
Create functional tests
...
Move unit tests to unit folder
2014-06-17 18:54:31 +10:00