mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
57 lines
1.1 KiB
PHP
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'],
|
|
];
|
|
}
|
|
}
|