mirror of
https://github.com/Karaka-Management/oms-Editor.git
synced 2026-02-11 07:58:40 +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
|
public function testJsonSerialize() : void
|
||||||
{
|
{
|
||||||
$null = new NullEditorDocHistory(2);
|
$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
|
public function testJsonSerialize() : void
|
||||||
{
|
{
|
||||||
$null = new NullEditorDoc(2);
|
$null = new NullEditorDoc(2);
|
||||||
self::assertEquals(['id' => 2], $null);
|
self::assertEquals(['id' => 2], $null->jsonSerialize());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user