mirror of
https://github.com/Karaka-Management/oms-Support.git
synced 2026-02-14 07:18:41 +00:00
fix jsonSerialize function call
This commit is contained in:
parent
b24fb00f26
commit
a669701aea
|
|
@ -47,6 +47,6 @@ final class NullSupportAppTest extends \PHPUnit\Framework\TestCase
|
||||||
public function testJsonSerialize() : void
|
public function testJsonSerialize() : void
|
||||||
{
|
{
|
||||||
$null = new NullSupportApp(2);
|
$null = new NullSupportApp(2);
|
||||||
self::assertEquals(['id' => 2], $null);
|
self::assertEquals(['id' => 2], $null->jsonSerialize());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -47,6 +47,6 @@ final class NullTicketElementTest extends \PHPUnit\Framework\TestCase
|
||||||
public function testJsonSerialize() : void
|
public function testJsonSerialize() : void
|
||||||
{
|
{
|
||||||
$null = new NullTicketElement(2);
|
$null = new NullTicketElement(2);
|
||||||
self::assertEquals(['id' => 2], $null);
|
self::assertEquals(['id' => 2], $null->jsonSerialize());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -47,6 +47,6 @@ final class NullTicketTest extends \PHPUnit\Framework\TestCase
|
||||||
public function testJsonSerialize() : void
|
public function testJsonSerialize() : void
|
||||||
{
|
{
|
||||||
$null = new NullTicket(2);
|
$null = new NullTicket(2);
|
||||||
self::assertEquals(['id' => 2], $null);
|
self::assertEquals(['id' => 2], $null->jsonSerialize());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user