From be1811c97126fccaf4f0db70e3a404151f7e2479 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 21 Feb 2019 22:32:56 +0100 Subject: [PATCH] Improve module tests --- Admin/Routes/Web/Api.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Admin/Routes/Web/Api.php b/Admin/Routes/Web/Api.php index 06c3fd6..e42e0c7 100644 --- a/Admin/Routes/Web/Api.php +++ b/Admin/Routes/Web/Api.php @@ -15,6 +15,11 @@ return [ 'type' => PermissionType::CREATE, 'state' => PermissionState::MEDIA, ], + 'data' => [ + 'field_name' => [ + 'type' => 'string', 'default' => 'Hello', 'validation' => '[\\w]*', 'required' => false,'annotation' => [], + ] + ], ], ], '^.*/api/media/create.*$' => [