Allow files to be added to notes
This is specifically when a Micropub client is using the JSON syntax and initially uploads the photo via the media endpoint
This commit is contained in:
parent
d3d6913474
commit
76db869af5
11 changed files with 33 additions and 23 deletions
|
|
@ -43,7 +43,8 @@ class ProcessMediaJobTest extends TestCase
|
|||
{
|
||||
$manager = app()->make(ImageManager::class);
|
||||
Storage::disk('local')->put('media/test-image.jpg', file_get_contents(__DIR__.'/../../test-image.jpg'));
|
||||
$job = new ProcessMedia('test-image.jpg');
|
||||
ray(Storage::disk('local')->get('media/test-image.jpg'));
|
||||
$job = new ProcessMedia('media/test-image.jpg');
|
||||
$job->handle($manager);
|
||||
|
||||
// These need to look in public disk
|
||||
|
|
|
|||
Loading…
Reference in a new issue