autofixes

This commit is contained in:
Dennis Eichhorn 2020-08-30 20:13:11 +02:00
parent 9c1090686a
commit 182ad2915f
4 changed files with 5 additions and 2 deletions

View File

@ -102,6 +102,7 @@ final class BackendController extends Controller
return $view;
}
/**
* Routing end-point for application behaviour.
*

View File

@ -27,5 +27,6 @@ use phpOMS\Stdlib\Base\Enum;
abstract class PermissionState extends Enum
{
public const QA = 1;
public const QUESTION = 2;
}

View File

@ -28,11 +28,11 @@ echo $this->getData('nav')->render();
<div class="col-xs-12">
<div class="box wf-100">
<table class="default">
<caption><?= $this->getHtml('Badges') ?><i class="fa fa-download floatRight download btn"></i></caption>
<caption><?= $this->getHtml('Badges'); ?><i class="fa fa-download floatRight download btn"></i></caption>
<thead>
<tr>
<td><?= $this->getHtml('ID', '0', '0'); ?>
<td class="wf-100"><?= $this->getHtml('Name') ?>
<td class="wf-100"><?= $this->getHtml('Name'); ?>
<tfoot>
<tr><td colspan="2">
<tbody>

View File

@ -20,6 +20,7 @@ namespace Modules\QA\tests\Admin;
class AdminTest extends \PHPUnit\Framework\TestCase
{
protected const MODULE_NAME = 'QA';
protected const URI_LOAD = 'http://127.0.0.1/en/backend/qa';
use \Modules\tests\ModuleTestTrait;