Release 2.25 (#5109)

This commit is contained in:
Kevin Papst
2024-11-21 22:44:49 +01:00
committed by GitHub
parent 49eb7068c9
commit 0c26a2678e
261 changed files with 6431 additions and 7426 deletions

View File

@@ -34,6 +34,7 @@ abstract class AbstractTimesheetCountedStatisticTest extends TestCase
self::assertSame(0, $sut->getCounterExported());
$json = $sut->jsonSerialize();
$this->assertIsArray($json);
$expected = [
'duration' => 0,
@@ -121,6 +122,7 @@ abstract class AbstractTimesheetCountedStatisticTest extends TestCase
$sut->setInternalRateExported(27.15);
$json = $sut->jsonSerialize();
$this->assertIsArray($json);
foreach (['duration', 'duration_billable', 'duration_exported', 'rate', 'rate_billable', 'rate_billable_exported', 'rate_exported', 'rate_internal', 'amount', 'amount_billable', 'amount_exported'] as $key) {
self::assertArrayHasKey($key, $json);
}