Skip to content

Commit

Permalink
fix jsonSerialize function call
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Eichhorn committed Oct 17, 2023
1 parent a15361f commit bef88cb
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion tests/Models/NullAccountRelationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ public function testId() : void
public function testJsonSerialize() : void
{
$null = new NullAccountRelation(2);
self::assertEquals(['id' => 2], $null);
self::assertEquals(['id' => 2], $null->jsonSerialize());
}
}
2 changes: 1 addition & 1 deletion tests/Models/NullGroupRelationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ public function testId() : void
public function testJsonSerialize() : void
{
$null = new NullGroupRelation(2);
self::assertEquals(['id' => 2], $null);
self::assertEquals(['id' => 2], $null->jsonSerialize());
}
}
2 changes: 1 addition & 1 deletion tests/Models/NullTaskAttributeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ public function testId() : void
public function testJsonSerialize() : void
{
$null = new NullTaskAttribute(2);
self::assertEquals(['id' => 2], $null);
self::assertEquals(['id' => 2], $null->jsonSerialize());
}
}
2 changes: 1 addition & 1 deletion tests/Models/NullTaskAttributeTypeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ public function testId() : void
public function testJsonSerialize() : void
{
$null = new NullTaskAttributeType(2);
self::assertEquals(['id' => 2], $null);
self::assertEquals(['id' => 2], $null->jsonSerialize());
}
}
2 changes: 1 addition & 1 deletion tests/Models/NullTaskAttributeValueTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ public function testId() : void
public function testJsonSerialize() : void
{
$null = new NullTaskAttributeValue(2);
self::assertEquals(['id' => 2], $null);
self::assertEquals(['id' => 2], $null->jsonSerialize());
}
}
2 changes: 1 addition & 1 deletion tests/Models/NullTaskElementTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ public function testId() : void
public function testJsonSerialize() : void
{
$null = new NullTaskElement(2);
self::assertEquals(['id' => 2], $null);
self::assertEquals(['id' => 2], $null->jsonSerialize());
}
}
2 changes: 1 addition & 1 deletion tests/Models/NullTaskSeenTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ public function testId() : void
public function testJsonSerialize() : void
{
$null = new NullTaskSeen(2);
self::assertEquals(['id' => 2], $null);
self::assertEquals(['id' => 2], $null->jsonSerialize());
}
}
2 changes: 1 addition & 1 deletion tests/Models/NullTaskTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ public function testId() : void
public function testJsonSerialize() : void
{
$null = new NullTask(2);
self::assertEquals(['id' => 2], $null);
self::assertEquals(['id' => 2], $null->jsonSerialize());
}
}

0 comments on commit bef88cb

Please sign in to comment.