monthly budget, monthly report, unified report calculation (#2684)
This commit is contained in:
34
tests/Model/Statistic/BudgetStatisticTest.php
Normal file
34
tests/Model/Statistic/BudgetStatisticTest.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?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\Statistic;
|
||||
|
||||
use App\Model\Statistic\BudgetStatistic;
|
||||
use App\Tests\Model\AbstractTimesheetCountedStatisticTest;
|
||||
|
||||
/**
|
||||
* @covers \App\Model\Statistic\BudgetStatistic
|
||||
*/
|
||||
class BudgetStatisticTest extends AbstractTimesheetCountedStatisticTest
|
||||
{
|
||||
public function testDefaultValues()
|
||||
{
|
||||
$this->assertDefaultValues(new BudgetStatistic());
|
||||
}
|
||||
|
||||
public function testSetter()
|
||||
{
|
||||
$this->assertSetter(new BudgetStatistic());
|
||||
}
|
||||
|
||||
public function testJsonSerialize()
|
||||
{
|
||||
$this->assertJsonSerialize(new BudgetStatistic());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user