diff --git a/Models/DrawImage.php b/Models/DrawImage.php index 18006a0..31c4b81 100755 --- a/Models/DrawImage.php +++ b/Models/DrawImage.php @@ -25,7 +25,7 @@ use phpOMS\Contract\ArrayableInterface; * @link https://orange-management.org * @since 1.0.0 */ -class DrawImage implements ArrayableInterface, \JsonSerializable +class DrawImage implements \JsonSerializable, ArrayableInterface { /** * Article ID. diff --git a/Theme/Backend/draw-list.tpl.php b/Theme/Backend/draw-list.tpl.php index 27704b2..a3795bb 100755 --- a/Theme/Backend/draw-list.tpl.php +++ b/Theme/Backend/draw-list.tpl.php @@ -27,20 +27,20 @@ echo $this->getData('nav')->render(); ?>
| = $this->getHtml('Name') ?> - | = $this->getHtml('Creator') ?> - | = $this->getHtml('Created') ?> + | = $this->getHtml('Name'); ?> + | = $this->getHtml('Creator'); ?> + | = $this->getHtml('Created'); ?> |
| = $this->printHtml($value->getMedia()->getName()); ?> - | = $this->printHtml($value->getMedia()->getCreatedBy()->getName()); ?> - | = $this->printHtml($value->getMedia()->getCreatedAt()->format('Y-m-d')); ?> + | = $this->printHtml($value->getMedia()->getName()); ?> + | = $this->printHtml($value->getMedia()->getCreatedBy()->getName()); ?> + | = $this->printHtml($value->getMedia()->getCreatedAt()->format('Y-m-d')); ?> |
| = $this->getHtml('Empty', '0', '0'); ?> diff --git a/tests/Admin/AdminTest.php b/tests/Admin/AdminTest.php index e798523..d6b564b 100755 --- a/tests/Admin/AdminTest.php +++ b/tests/Admin/AdminTest.php @@ -20,6 +20,7 @@ namespace Modules\Draw\tests\Admin; class AdminTest extends \PHPUnit\Framework\TestCase { protected const MODULE_NAME = 'Draw'; + protected const URI_LOAD = 'http://127.0.0.1/en/backend/draw'; use \Modules\tests\ModuleTestTrait; diff --git a/tests/ControllerTest.php b/tests/ControllerTest.php index d3fabb1..0bf140a 100755 --- a/tests/ControllerTest.php +++ b/tests/ControllerTest.php @@ -35,6 +35,7 @@ use phpOMS\Utils\TestUtils; class ControllerTest extends \PHPUnit\Framework\TestCase { protected $app = null; + protected $module = null; protected function setUp() : void | |||||