Release 2.9.0 (#4526)
* added fix to work around bc break in new phpword version * fix phpoffice deprecations * mark unused option as deprecated * support for DateTimeInterface and DateTimeImmutable where possible * use TRUSTED_PROXIES setting - fixes #4533 * re-enable Kimai test in docker test build script (#4541) * bump dependencies
This commit is contained in:
@@ -19,7 +19,7 @@ use PHPUnit\Framework\TestCase;
|
||||
*/
|
||||
class ProjectBudgetStatisticEventTest extends TestCase
|
||||
{
|
||||
public function testStatistic()
|
||||
public function testStatistic(): void
|
||||
{
|
||||
$project = $this->createMock(Project::class);
|
||||
$project->expects($this->exactly(2))->method('getId')->willReturn(12);
|
||||
@@ -39,7 +39,7 @@ class ProjectBudgetStatisticEventTest extends TestCase
|
||||
self::assertNull($sut->getModel(1));
|
||||
self::assertSame($model1, $sut->getModel(12));
|
||||
self::assertSame($model2, $sut->getModel(4));
|
||||
self::assertSame($begin, $sut->getBegin());
|
||||
self::assertSame($end, $sut->getEnd());
|
||||
self::assertEquals($begin, $sut->getBegin());
|
||||
self::assertEquals($end, $sut->getEnd());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user