Files
kimai2/tests/Model/ProjectStatisticTest.php
2025-08-11 18:57:42 +02:00

34 lines
804 B
PHP

<?php
/*
* This file is part of the Kimai time-tracking app.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace App\Tests\Model;
use App\Model\CustomerStatistic;
use App\Model\ProjectStatistic;
use PHPUnit\Framework\Attributes\CoversClass;
#[CoversClass(ProjectStatistic::class)]
class ProjectStatisticTest extends AbstractTimesheetCountedStatisticTestCase
{
public function testDefaultValues(): void
{
$this->assertDefaultValues(new CustomerStatistic());
}
public function testSetter(): void
{
$this->assertSetter(new CustomerStatistic());
}
public function testJsonSerialize(): void
{
$this->assertJsonSerialize(new CustomerStatistic());
}
}