mirror of
https://github.com/Karaka-Management/oms-QA.git
synced 2026-02-17 16:28:41 +00:00
autofixes
This commit is contained in:
parent
9c1090686a
commit
182ad2915f
|
|
@ -102,6 +102,7 @@ final class BackendController extends Controller
|
||||||
|
|
||||||
return $view;
|
return $view;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Routing end-point for application behaviour.
|
* Routing end-point for application behaviour.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -27,5 +27,6 @@ use phpOMS\Stdlib\Base\Enum;
|
||||||
abstract class PermissionState extends Enum
|
abstract class PermissionState extends Enum
|
||||||
{
|
{
|
||||||
public const QA = 1;
|
public const QA = 1;
|
||||||
|
|
||||||
public const QUESTION = 2;
|
public const QUESTION = 2;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -28,11 +28,11 @@ echo $this->getData('nav')->render();
|
||||||
<div class="col-xs-12">
|
<div class="col-xs-12">
|
||||||
<div class="box wf-100">
|
<div class="box wf-100">
|
||||||
<table class="default">
|
<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>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<td><?= $this->getHtml('ID', '0', '0'); ?>
|
<td><?= $this->getHtml('ID', '0', '0'); ?>
|
||||||
<td class="wf-100"><?= $this->getHtml('Name') ?>
|
<td class="wf-100"><?= $this->getHtml('Name'); ?>
|
||||||
<tfoot>
|
<tfoot>
|
||||||
<tr><td colspan="2">
|
<tr><td colspan="2">
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@ namespace Modules\QA\tests\Admin;
|
||||||
class AdminTest extends \PHPUnit\Framework\TestCase
|
class AdminTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected const MODULE_NAME = 'QA';
|
protected const MODULE_NAME = 'QA';
|
||||||
|
|
||||||
protected const URI_LOAD = 'http://127.0.0.1/en/backend/qa';
|
protected const URI_LOAD = 'http://127.0.0.1/en/backend/qa';
|
||||||
|
|
||||||
use \Modules\tests\ModuleTestTrait;
|
use \Modules\tests\ModuleTestTrait;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user