From b025126d1838baf4545ebaf0eafd3a034e84da86 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 9 Oct 2022 01:25:21 +0200 Subject: [PATCH] fix tests --- Models/MediaMapper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Models/MediaMapper.php b/Models/MediaMapper.php index 272ff89..161167e 100755 --- a/Models/MediaMapper.php +++ b/Models/MediaMapper.php @@ -43,7 +43,7 @@ class MediaMapper extends DataMapperFactory 'media_description_raw' => ['name' => 'media_description_raw', 'type' => 'string', 'internal' => 'descriptionRaw'], 'media_content' => ['name' => 'media_content', 'type' => 'int', 'internal' => 'content'], 'media_versioned' => ['name' => 'media_versioned', 'type' => 'bool', 'internal' => 'isVersioned'], - 'media_status' => ['name' => 'media_status', 'type' => 'bool', 'internal' => 'status'], + 'media_status' => ['name' => 'media_status', 'type' => 'int', 'internal' => 'status'], 'media_file' => ['name' => 'media_file', 'type' => 'string', 'internal' => 'path', 'autocomplete' => true], 'media_virtual' => ['name' => 'media_virtual', 'type' => 'string', 'internal' => 'virtualPath', 'autocomplete' => true], 'media_absolute' => ['name' => 'media_absolute', 'type' => 'bool', 'internal' => 'isAbsolute'],