1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-18 19:40:55 +01:00
phorge-phorge/src/applications/files/builtin
epriestley f786c86a6a Don't require the "gd" extension be installed in order to run unit tests
Summary:
Ref T10405. If `gd` is not installed, a number of unit tests currently fail because they generate synthetic users and try to composite profile pictures for them.

Instead, just fall back to a static default if `gd` is not available.

Test Plan: Faked this pathway, created a new user, saw a default profile picture.

Reviewers: amckinley, lpriestley, avivey

Reviewed By: avivey

Maniphest Tasks: T10405

Differential Revision: https://secure.phabricator.com/D18812
2017-11-30 13:51:31 -08:00
..
PhabricatorFilesBuiltinFile.php Update project profile image composer for new IconSet code 2016-01-18 15:09:21 -08:00
PhabricatorFilesComposeAvatarBuiltinFile.php Don't require the "gd" extension be installed in order to run unit tests 2017-11-30 13:51:31 -08:00
PhabricatorFilesComposeIconBuiltinFile.php Add a map marker icon for Milestones 2016-02-05 13:40:52 -08:00
PhabricatorFilesOnDiskBuiltinFile.php Choose default project image by icon 2017-07-09 11:41:02 -07:00