ORIENT/tests/unit/cms/classes
Ben Thomson 50e61df10e
Fix path validation for CmsObjects & Assets (#5229)
Instead of using a temporary file to allow checks with `realpath()` to succeed, use the new `resolve_path()` helper added in a9a629b012 to replace the `realpath()` usage and allow for path resolution of files that don't exist yet.

This will allow new asset files to still be saved correctly, whilst still preventing paths outside of the assets directory to be used.

Replaces b1954e9258.
2020-08-05 12:00:22 -06:00
..
AssetTest.php Fix path validation for CmsObjects & Assets (#5229) 2020-08-05 12:00:22 -06:00
CmsCompoundObjectTest.php Revert Laravel Dusk changes (#4919) 2020-02-07 16:59:39 +08:00
CmsExceptionTest.php Revert Laravel Dusk changes (#4919) 2020-02-07 16:59:39 +08:00
CmsObjectQueryTest.php Merge branch 'develop' into wip/laravel-6 2020-04-04 14:11:05 -06:00
CmsObjectTest.php Revert Laravel Dusk changes (#4919) 2020-02-07 16:59:39 +08:00
CodeParserTest.php Fix path validation for CmsObjects & Assets (#5229) 2020-08-05 12:00:22 -06:00
ComponentManagerTest.php Revert Laravel Dusk changes (#4919) 2020-02-07 16:59:39 +08:00
ContentTest.php Revert Laravel Dusk changes (#4919) 2020-02-07 16:59:39 +08:00
ControllerTest.php Fix deprecated PHPUnit calls in ControllerTest 2020-05-19 12:57:10 +08:00
PartialStackTest.php Revert Laravel Dusk changes (#4919) 2020-02-07 16:59:39 +08:00
RouterTest.php Revert Laravel Dusk changes (#4919) 2020-02-07 16:59:39 +08:00
ThemeTest.php Revert Laravel Dusk changes (#4919) 2020-02-07 16:59:39 +08:00