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;