]> BookStack Code Mirror - bookstack/commit
Added testing for avatar fetching systems & config
authorDan Brown <redacted>
Sun, 23 Dec 2018 15:34:38 +0000 (15:34 +0000)
committerDan Brown <redacted>
Sun, 23 Dec 2018 15:34:38 +0000 (15:34 +0000)
commit68017e25534b13db5b784c634c0d6f2d3981affb
treefcf5f07f09895d6295f221bebe68b17db1c39fa7
parent866187830afa103a8e31d9b59c573c75dfc14033
Added testing for avatar fetching systems & config

Abstracts imageservice http interaction.
Closes #1193
app/Exceptions/HttpFetchException.php [new file with mode: 0644]
app/Providers/CustomFacadeProvider.php
app/Uploads/HttpFetcher.php [new file with mode: 0644]
app/Uploads/ImageService.php
composer.json
config/services.php
phpunit.xml
tests/Uploads/AttachmentTest.php [moved from tests/AttachmentTest.php with 100% similarity]
tests/Uploads/AvatarTest.php [new file with mode: 0644]
tests/Uploads/ImageTest.php [moved from tests/ImageTest.php with 85% similarity]
tests/Uploads/UsesImages.php [new file with mode: 0644]