nextcloud/apps/theming/tests
Kyle Fazzari 401a2692e8
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:14:57 -08:00
..
Controller theming: handle not being in the serverroot 2018-02-26 10:14:57 -08:00
Migration Use createMock 2017-02-16 15:13:39 +01:00
Settings rename confusing getMailHeaderColor to getColorPrimary, ref #3491 2017-03-29 18:23:23 +02:00
data Improve unit tests for image generation 2016-11-18 10:23:23 +01:00
CapabilitiesTest.php Fix email buttons for white theme 2017-12-18 17:03:01 +01:00
IconBuilderTest.php Use appdata logo when generating icons 2017-05-17 10:14:37 +02:00
ImageManagerTest.php Replace null return with NotFoundException 2016-11-18 10:23:25 +01:00
ServicesTest.php Add image URLs and tests 2016-09-06 08:55:22 +02:00
ThemingDefaultsTest.php Fix tests for primary element color 2017-09-04 15:59:40 +02:00
UtilTest.php Use appdata logo when generating icons 2017-05-17 10:14:37 +02:00