Files
chill-bundles/src/Bundle/ChillActivityBundle/Tests/Export/Export/StatActivityDurationSumTest.php
2021-11-23 14:08:50 +01:00

57 lines
1.1 KiB
PHP

<?php
/**
* Chill is a software for social workers
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Chill\ActivityBundle\Tests\Export\Export;
use Chill\MainBundle\Test\Export\AbstractExportTest;
/**
* Test the "sum" part of StatActivityDuration.
*
* @internal
* @coversNothing
*/
class StatActivityDurationSumTest extends AbstractExportTest
{
/**
* @var \Chill\ActivityBundle\Export\Export\StatActivityDuration
*/
private $export;
public function setUp()
{
static::bootKernel();
/* @var $container \Symfony\Component\DependencyInjection\ContainerInterface */
$container = self::$kernel->getContainer();
$this->export = $container->get('chill.activity.export.sum_activity_duration');
}
public function getExport()
{
return $this->export;
}
public function getFormData()
{
return [
[],
];
}
public function getModifiersCombination()
{
return [
['activity'],
['activity', 'person'],
];
}
}