From e3d866f5911ca720e0358570632577639a082b27 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 30 Aug 2020 20:13:10 +0200 Subject: [PATCH] autofixes --- Models/CommentStatus.php | 1 + tests/Admin/AdminTest.php | 1 + 2 files changed, 2 insertions(+) diff --git a/Models/CommentStatus.php b/Models/CommentStatus.php index b5e1791..e0c7246 100644 --- a/Models/CommentStatus.php +++ b/Models/CommentStatus.php @@ -27,5 +27,6 @@ use phpOMS\Stdlib\Base\Enum; abstract class CommentStatus extends Enum { public const VISIBLE = 1; + public const BLOCKED = 2; } diff --git a/tests/Admin/AdminTest.php b/tests/Admin/AdminTest.php index 9add97f..62ec873 100755 --- a/tests/Admin/AdminTest.php +++ b/tests/Admin/AdminTest.php @@ -20,6 +20,7 @@ namespace Modules\Comments\tests\Admin; class AdminTest extends \PHPUnit\Framework\TestCase { protected const MODULE_NAME = 'Comments'; + protected const URI_LOAD = ''; use \Modules\tests\ModuleTestTrait;