- | = $value->getId(); ?>
+ | = $value->id; ?>
| = $value->getType(); ?>
| = $value->subtype; ?>
| = $value->exchange->title; ?>
diff --git a/Theme/Backend/exchange-log.tpl.php b/Theme/Backend/exchange-log.tpl.php
index dbf9b30..9b33f10 100755
--- a/Theme/Backend/exchange-log.tpl.php
+++ b/Theme/Backend/exchange-log.tpl.php
@@ -26,11 +26,11 @@ echo $this->getData('nav')->render();
- | = $this->getHtml('ID', '0', '0'); ?> | = $log->getId(); ?>
+ | | = $this->getHtml('ID', '0', '0'); ?> | = $log->id; ?>
| | = $this->getHtml('Type'); ?> | = $log->getType(); ?>
| | = $this->getHtml('Subtype'); ?> | = $log->subtype; ?>
| | = $this->getHtml('Created'); ?> | = $log->createdAt->format('Y-m-d'); ?>
- | | = $this->getHtml('Creator'); ?> | = $log->createdBy->name1; ?>
+ | | = $this->getHtml('Creator'); ?> | = $log->createdBy->name1; ?>
| | = $log->message; ?>
|
diff --git a/tests/Controller/ApiControllerTest.php b/tests/Controller/ApiControllerTest.php
index 2a3de0f..85d3a65 100755
--- a/tests/Controller/ApiControllerTest.php
+++ b/tests/Controller/ApiControllerTest.php
@@ -168,7 +168,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
TestUtils::setMember($request, 'files', $files);
$this->module->apiInterfaceInstall($request, $response);
- self::assertGreaterThan(0, $response->get('')['response']->getId());
+ self::assertGreaterThan(0, $response->get('')['response']->id);
}
if (\is_dir(__DIR__ . '/temp')) {
diff --git a/tests/Interfaces/OMS/Exporter.php b/tests/Interfaces/OMS/Exporter.php
index b7a6522..dd83a58 100755
--- a/tests/Interfaces/OMS/Exporter.php
+++ b/tests/Interfaces/OMS/Exporter.php
@@ -36,7 +36,7 @@ final class Exporter extends ExporterAbstract
* @var int
* @since 1.0.0
*/
- private int $account = 1;
+ public int $account = 1;
/**
* Export all data in time span
diff --git a/tests/Interfaces/OMS/Importer.php b/tests/Interfaces/OMS/Importer.php
index b981bc0..0f0c928 100755
--- a/tests/Interfaces/OMS/Importer.php
+++ b/tests/Interfaces/OMS/Importer.php
@@ -39,7 +39,7 @@ final class Importer extends ImporterAbstract
* @var int
* @since 1.0.0
*/
- private int $account = 1;
+ public int $account = 1;
/**
* Import all data in time span
diff --git a/tests/Models/ExchangeLogTest.php b/tests/Models/ExchangeLogTest.php
index 0a87d7c..ce3a0cd 100755
--- a/tests/Models/ExchangeLogTest.php
+++ b/tests/Models/ExchangeLogTest.php
@@ -38,7 +38,7 @@ final class ExchangeLogTest extends \PHPUnit\Framework\TestCase
*/
public function testDefault() : void
{
- self::assertEquals(0, $this->log->getId());
+ self::assertEquals(0, $this->log->id);
self::assertEquals('', $this->log->message);
self::assertEquals('', $this->log->subtype);
self::assertEquals(0, $this->log->exchange);
diff --git a/tests/Models/InterfaceManagerTest.php b/tests/Models/InterfaceManagerTest.php
index 11b6267..1843dae 100755
--- a/tests/Models/InterfaceManagerTest.php
+++ b/tests/Models/InterfaceManagerTest.php
@@ -37,7 +37,7 @@ final class InterfaceManagerTest extends \PHPUnit\Framework\TestCase
*/
public function testDefault() : void
{
- self::assertEquals(0, $this->interface->getId());
+ self::assertEquals(0, $this->interface->id);
self::assertEquals('', $this->interface->getPath());
self::assertEquals('', $this->interface->title);
self::assertFalse($this->interface->hasImport);
diff --git a/tests/Models/NullExchangeLogTest.php b/tests/Models/NullExchangeLogTest.php
index 30e265a..349e693 100755
--- a/tests/Models/NullExchangeLogTest.php
+++ b/tests/Models/NullExchangeLogTest.php
@@ -37,6 +37,6 @@ final class NullExchangeLogTest extends \PHPUnit\Framework\TestCase
public function testId() : void
{
$null = new NullExchangeLog(2);
- self::assertEquals(2, $null->getId());
+ self::assertEquals(2, $null->id);
}
}
diff --git a/tests/Models/NullInterfaceManagerTest.php b/tests/Models/NullInterfaceManagerTest.php
index bc6576c..c6f96b4 100755
--- a/tests/Models/NullInterfaceManagerTest.php
+++ b/tests/Models/NullInterfaceManagerTest.php
@@ -37,6 +37,6 @@ final class NullInterfaceManagerTest extends \PHPUnit\Framework\TestCase
public function testId() : void
{
$null = new NullInterfaceManager(2);
- self::assertEquals(2, $null->getId());
+ self::assertEquals(2, $null->id);
}
}
|