2018-09-21 01:27:56 +02:00
|
|
|
<?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;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @covers \App\Model\CustomerStatistic
|
|
|
|
*/
|
2024-12-22 01:25:30 +01:00
|
|
|
class CustomerStatisticTest extends AbstractTimesheetCountedStatisticTestCase
|
2018-09-21 01:27:56 +02:00
|
|
|
{
|
2024-02-07 23:47:25 +01:00
|
|
|
public function testDefaultValues(): void
|
2018-09-21 01:27:56 +02:00
|
|
|
{
|
2021-07-06 22:01:20 +02:00
|
|
|
$this->assertDefaultValues(new CustomerStatistic());
|
2018-09-21 01:27:56 +02:00
|
|
|
}
|
|
|
|
|
2024-02-07 23:47:25 +01:00
|
|
|
public function testSetter(): void
|
2021-07-06 22:01:20 +02:00
|
|
|
{
|
|
|
|
$this->assertSetter(new CustomerStatistic());
|
|
|
|
}
|
|
|
|
|
2024-02-07 23:47:25 +01:00
|
|
|
public function testJsonSerialize(): void
|
2021-07-06 22:01:20 +02:00
|
|
|
{
|
|
|
|
$this->assertJsonSerialize(new CustomerStatistic());
|
|
|
|
}
|
2018-09-21 01:27:56 +02:00
|
|
|
}
|