nextcloud/apps/theming/tests
Kyle Fazzari 4ecf31541b
theming: handle not being in the serverroot
Currently, the theming app assumes it's in the serverroot. However, with
Nextcloud's flexibility regarding configurable app paths, this is not a
safe assumption to make. If it happens to be an incorrect assumption,
the theming app fails to work.

Instead of relying on the serverroot, just use the path from the
AppManager and utilize relative paths for assets from there.

Fix #8462

Signed-off-by: Kyle Fazzari <kyrofa@ubuntu.com>
2018-02-26 10:24:34 -08:00
..
Controller theming: handle not being in the serverroot 2018-02-26 10:24:34 -08:00
Migration Update license headers 2017-11-06 16:56:19 +01:00
Settings Fix unit tests 2017-11-09 10:03:31 +01:00
data Improve unit tests for image generation 2016-11-18 10:23:23 +01:00
CapabilitiesTest.php More detailed theming capabilities 2018-01-10 13:23:22 +01:00
IconBuilderTest.php Theming: Fix tests for favicon containing multiple sizes 2017-11-13 10:18:48 +01:00
ImageManagerTest.php Update license headers 2017-11-06 16:56:19 +01:00
ServicesTest.php Update license headers 2017-11-06 16:56:19 +01:00
ThemingDefaultsTest.php Fix theming tests 2018-02-02 13:06:50 +01:00
UtilTest.php More detailed theming capabilities 2018-01-10 13:23:22 +01:00