mirror of
https://github.com/Karaka-Management/oms-Editor.git
synced 2026-01-11 09:08:42 +00:00
fix jsonSerialize function call
This commit is contained in:
parent
2afad600d3
commit
e00fe84db2
|
|
@ -47,6 +47,6 @@ final class NullEditorDocHistoryTest extends \PHPUnit\Framework\TestCase
|
|||
public function testJsonSerialize() : void
|
||||
{
|
||||
$null = new NullEditorDocHistory(2);
|
||||
self::assertEquals(['id' => 2], $null);
|
||||
self::assertEquals(['id' => 2], $null->jsonSerialize());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -47,6 +47,6 @@ final class NullEditorDocTest extends \PHPUnit\Framework\TestCase
|
|||
public function testJsonSerialize() : void
|
||||
{
|
||||
$null = new NullEditorDoc(2);
|
||||
self::assertEquals(['id' => 2], $null);
|
||||
self::assertEquals(['id' => 2], $null->jsonSerialize());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user