mirror of
https://github.com/Karaka-Management/oms-Exchange.git
synced 2026-01-11 16:48:42 +00:00
fix jsonSerialize function call
This commit is contained in:
parent
c7c6f2b8b1
commit
99b95a2a45
|
|
@ -47,6 +47,6 @@ final class NullExchangeLogTest extends \PHPUnit\Framework\TestCase
|
|||
public function testJsonSerialize() : void
|
||||
{
|
||||
$null = new NullExchangeLog(2);
|
||||
self::assertEquals(['id' => 2], $null);
|
||||
self::assertEquals(['id' => 2], $null->jsonSerialize());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -47,6 +47,6 @@ final class NullExchangeSettingTest extends \PHPUnit\Framework\TestCase
|
|||
public function testJsonSerialize() : void
|
||||
{
|
||||
$null = new NullExchangeSetting(2);
|
||||
self::assertEquals(['id' => 2], $null);
|
||||
self::assertEquals(['id' => 2], $null->jsonSerialize());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -47,6 +47,6 @@ final class NullInterfaceManagerTest extends \PHPUnit\Framework\TestCase
|
|||
public function testJsonSerialize() : void
|
||||
{
|
||||
$null = new NullInterfaceManager(2);
|
||||
self::assertEquals(['id' => 2], $null);
|
||||
self::assertEquals(['id' => 2], $null->jsonSerialize());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user