Release 2.57 (#5929)

This commit is contained in:
Kevin Papst
2026-05-21 22:14:10 +02:00
committed by GitHub
parent f0ce1c7bd6
commit 976d38e8a4
101 changed files with 4226 additions and 1119 deletions

View File

@@ -0,0 +1,29 @@
<?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\Invoice;
use App\Invoice\InvoicePeriod;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\TestCase;
#[CoversClass(InvoicePeriod::class)]
class InvoicePeriodTest extends TestCase
{
public function testGetters(): void
{
$start = new \DateTimeImmutable('2024-01-02 03:04:05');
$end = new \DateTimeImmutable('2024-06-07 08:09:10');
$sut = new InvoicePeriod($start, $end);
self::assertSame($start, $sut->getStart());
self::assertSame($end, $sut->getEnd());
}
}