Added tests for the Attachments API endpoint

This commit is contained in:
Jan Böhmer 2024-03-03 21:02:15 +01:00
parent 18c80f6b64
commit 7b5ae70de3
5 changed files with 151 additions and 2 deletions

View file

@ -147,6 +147,7 @@ abstract class Attachment extends AbstractNamedDBElement
* @var string|null the original filename the file had, when the user uploaded it
*/
#[ORM\Column(type: Types::STRING, nullable: true)]
#[Groups(['full', 'attachment:read'])]
protected ?string $original_filename = null;
/**