Release 2.12 (#4609)
This commit is contained in:
@@ -22,7 +22,7 @@ use PHPUnit\Framework\TestCase;
|
||||
*/
|
||||
class TimesheetExportRepositoryTest extends TestCase
|
||||
{
|
||||
public function testSetExported()
|
||||
public function testSetExported(): void
|
||||
{
|
||||
$repository = $this->createMock(TimesheetRepository::class);
|
||||
$repository->expects($this->once())->method('setExported')->willReturnCallback(function (array $items) {
|
||||
@@ -37,7 +37,7 @@ class TimesheetExportRepositoryTest extends TestCase
|
||||
$sut->setExported([new Customer('foo'), new Project()]);
|
||||
}
|
||||
|
||||
public function testSetType()
|
||||
public function testSetType(): void
|
||||
{
|
||||
$repository = $this->createMock(TimesheetRepository::class);
|
||||
$sut = new TimesheetExportRepository($repository);
|
||||
|
||||
Reference in New Issue
Block a user