autofixes

This commit is contained in:
Dennis Eichhorn 2020-08-30 20:13:10 +02:00
parent bf6808fefc
commit 572141824e
3 changed files with 12 additions and 10 deletions

View File

@ -28,7 +28,7 @@ echo $this->getData('nav')->render(); ?>
<div class="row">
<div class="col-xs-12">
<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">
<colgroup>
<col style="width: 75px">
@ -45,15 +45,15 @@ echo $this->getData('nav')->render(); ?>
<thead>
<tr>
<td><?= $this->getHtml('ID', '0', '0'); ?>
<td ><?= $this->getHtml('Module') ?>
<td ><?= $this->getHtml('Type') ?>
<td ><?= $this->getHtml('Subtype') ?>
<td ><?= $this->getHtml('Old') ?>
<td ><?= $this->getHtml('New') ?>
<td ><?= $this->getHtml('Content') ?>
<td ><?= $this->getHtml('By') ?>
<td ><?= $this->getHtml('Ref') ?>
<td ><?= $this->getHtml('Date') ?>
<td ><?= $this->getHtml('Module'); ?>
<td ><?= $this->getHtml('Type'); ?>
<td ><?= $this->getHtml('Subtype'); ?>
<td ><?= $this->getHtml('Old'); ?>
<td ><?= $this->getHtml('New'); ?>
<td ><?= $this->getHtml('Content'); ?>
<td ><?= $this->getHtml('By'); ?>
<td ><?= $this->getHtml('Ref'); ?>
<td ><?= $this->getHtml('Date'); ?>
<tbody>
<?php $count = 0; foreach ($audits as $key => $audit) : ++$count;
$url = UriFactory::build('{/prefix}admin/audit/single?{?}&id=' . $audit->getId()); ?>

View File

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

View File

@ -38,6 +38,7 @@ use phpOMS\Utils\TestUtils;
class ApiControllerTest extends \PHPUnit\Framework\TestCase
{
protected ApplicationAbstract $app;
protected ModuleAbstract $module;
protected function setUp() : void