mirror of
https://github.com/Karaka-Management/oms-ProjectManagement.git
synced 2026-02-13 14:28:39 +00:00
fix jsonSerialize function call
This commit is contained in:
parent
239522bfc1
commit
5894c9e069
|
|
@ -47,6 +47,6 @@ final class NullProjectAttributeTest extends \PHPUnit\Framework\TestCase
|
||||||
public function testJsonSerialize() : void
|
public function testJsonSerialize() : void
|
||||||
{
|
{
|
||||||
$null = new NullProjectAttribute(2);
|
$null = new NullProjectAttribute(2);
|
||||||
self::assertEquals(['id' => 2], $null);
|
self::assertEquals(['id' => 2], $null->jsonSerialize());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -47,6 +47,6 @@ final class NullProjectAttributeTypeTest extends \PHPUnit\Framework\TestCase
|
||||||
public function testJsonSerialize() : void
|
public function testJsonSerialize() : void
|
||||||
{
|
{
|
||||||
$null = new NullProjectAttributeType(2);
|
$null = new NullProjectAttributeType(2);
|
||||||
self::assertEquals(['id' => 2], $null);
|
self::assertEquals(['id' => 2], $null->jsonSerialize());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -47,6 +47,6 @@ final class NullProjectAttributeValueTest extends \PHPUnit\Framework\TestCase
|
||||||
public function testJsonSerialize() : void
|
public function testJsonSerialize() : void
|
||||||
{
|
{
|
||||||
$null = new NullProjectAttributeValue(2);
|
$null = new NullProjectAttributeValue(2);
|
||||||
self::assertEquals(['id' => 2], $null);
|
self::assertEquals(['id' => 2], $null->jsonSerialize());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -47,6 +47,6 @@ final class NullProjectTest extends \PHPUnit\Framework\TestCase
|
||||||
public function testJsonSerialize() : void
|
public function testJsonSerialize() : void
|
||||||
{
|
{
|
||||||
$null = new NullProject(2);
|
$null = new NullProject(2);
|
||||||
self::assertEquals(['id' => 2], $null);
|
self::assertEquals(['id' => 2], $null->jsonSerialize());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user