diff --git a/Export/Aggregator/ReasonAggregator.php b/Export/Aggregator/ActivityReasonAggregator.php similarity index 99% rename from Export/Aggregator/ReasonAggregator.php rename to Export/Aggregator/ActivityReasonAggregator.php index c6504ae7b..8bcf9d1c8 100644 --- a/Export/Aggregator/ReasonAggregator.php +++ b/Export/Aggregator/ActivityReasonAggregator.php @@ -32,7 +32,7 @@ use Chill\MainBundle\Templating\TranslatableStringHelper; * * @author Julien Fastré */ -class ReasonAggregator implements AggregatorInterface +class ActivityReasonAggregator implements AggregatorInterface { /** * diff --git a/Resources/config/services/export.yml b/Resources/config/services/export.yml index 26b69ebab..3221a4ab5 100644 --- a/Resources/config/services/export.yml +++ b/Resources/config/services/export.yml @@ -15,7 +15,7 @@ services: - { name: chill.export_filter, alias: 'activity_reason_filter' } chill.activity.export.reason_aggregator: - class: Chill\ActivityBundle\Export\Aggregator\ReasonAggregator + class: Chill\ActivityBundle\Export\Aggregator\ActivityReasonAggregator arguments: - "@chill_activity.repository.reason_category" - "@chill_activity.repository.reason" diff --git a/Tests/Export/Aggregator/ReasonAggregatorTest.php b/Tests/Export/Aggregator/ActivityReasonAggregatorTest.php similarity index 93% rename from Tests/Export/Aggregator/ReasonAggregatorTest.php rename to Tests/Export/Aggregator/ActivityReasonAggregatorTest.php index f508fcde2..a79ee50d3 100644 --- a/Tests/Export/Aggregator/ReasonAggregatorTest.php +++ b/Tests/Export/Aggregator/ActivityReasonAggregatorTest.php @@ -22,15 +22,15 @@ namespace Chill\ActivityBundle\Tests\Aggregator; use Chill\MainBundle\Test\Export\AbstractAggregatorTest; /** - * + * Add tests for ActivityReasonAggregator * * @author Julien Fastré */ -class ReasonAggregatorTest extends AbstractAggregatorTest +class ActivityReasonAggregatorTest extends AbstractAggregatorTest { /** * - * @var \Chill\ActivityBundle\Export\Aggregator\ReasonAggregator + * @var \Chill\ActivityBundle\Export\Aggregator\ActivityReasonAggregator */ private $aggregator;