mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-21 09:39:34 +00:00
Split attachment path into internal and external path, so the external source URL can be retained after a file is downloaded
This commit is contained in:
parent
5bb79b5419
commit
ceb7c7bd65
21 changed files with 399 additions and 303 deletions
|
|
@ -91,7 +91,7 @@ class AttachmentsEndpointTest extends AuthenticatedApiTestCase
|
|||
//Attachment must be set (not null)
|
||||
$array = json_decode($response->getContent(), true);
|
||||
|
||||
self::assertNotNull($array['media_url']);
|
||||
self::assertNotNull($array['internal_path']);
|
||||
|
||||
//Attachment must be private
|
||||
self::assertJsonContains([
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue