mirror of
https://github.com/Karaka-Management/oms-Auditor.git
synced 2026-02-17 14:08:41 +00:00
autofixes
This commit is contained in:
parent
bf6808fefc
commit
572141824e
|
|
@ -28,7 +28,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-12">
|
<div class="col-xs-12">
|
||||||
<div class="portlet">
|
<div class="portlet">
|
||||||
<div class="portlet-head"><?= $this->getHtml('Audits') ?><i class="fa fa-download floatRight download btn"></i></div>
|
<div class="portlet-head"><?= $this->getHtml('Audits'); ?><i class="fa fa-download floatRight download btn"></i></div>
|
||||||
<table class="default fixed">
|
<table class="default fixed">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col style="width: 75px">
|
<col style="width: 75px">
|
||||||
|
|
@ -45,15 +45,15 @@ echo $this->getData('nav')->render(); ?>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<td><?= $this->getHtml('ID', '0', '0'); ?>
|
<td><?= $this->getHtml('ID', '0', '0'); ?>
|
||||||
<td ><?= $this->getHtml('Module') ?>
|
<td ><?= $this->getHtml('Module'); ?>
|
||||||
<td ><?= $this->getHtml('Type') ?>
|
<td ><?= $this->getHtml('Type'); ?>
|
||||||
<td ><?= $this->getHtml('Subtype') ?>
|
<td ><?= $this->getHtml('Subtype'); ?>
|
||||||
<td ><?= $this->getHtml('Old') ?>
|
<td ><?= $this->getHtml('Old'); ?>
|
||||||
<td ><?= $this->getHtml('New') ?>
|
<td ><?= $this->getHtml('New'); ?>
|
||||||
<td ><?= $this->getHtml('Content') ?>
|
<td ><?= $this->getHtml('Content'); ?>
|
||||||
<td ><?= $this->getHtml('By') ?>
|
<td ><?= $this->getHtml('By'); ?>
|
||||||
<td ><?= $this->getHtml('Ref') ?>
|
<td ><?= $this->getHtml('Ref'); ?>
|
||||||
<td ><?= $this->getHtml('Date') ?>
|
<td ><?= $this->getHtml('Date'); ?>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php $count = 0; foreach ($audits as $key => $audit) : ++$count;
|
<?php $count = 0; foreach ($audits as $key => $audit) : ++$count;
|
||||||
$url = UriFactory::build('{/prefix}admin/audit/single?{?}&id=' . $audit->getId()); ?>
|
$url = UriFactory::build('{/prefix}admin/audit/single?{?}&id=' . $audit->getId()); ?>
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@ namespace Modules\Auditor\tests\Admin;
|
||||||
class AdminTest extends \PHPUnit\Framework\TestCase
|
class AdminTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected const MODULE_NAME = 'Auditor';
|
protected const MODULE_NAME = 'Auditor';
|
||||||
|
|
||||||
protected const URI_LOAD = 'http://127.0.0.1/en/backend/admin/audit';
|
protected const URI_LOAD = 'http://127.0.0.1/en/backend/admin/audit';
|
||||||
|
|
||||||
use \Modules\tests\ModuleTestTrait;
|
use \Modules\tests\ModuleTestTrait;
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,7 @@ use phpOMS\Utils\TestUtils;
|
||||||
class ApiControllerTest extends \PHPUnit\Framework\TestCase
|
class ApiControllerTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected ApplicationAbstract $app;
|
protected ApplicationAbstract $app;
|
||||||
|
|
||||||
protected ModuleAbstract $module;
|
protected ModuleAbstract $module;
|
||||||
|
|
||||||
protected function setUp() : void
|
protected function setUp() : void
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user