Fix "group activity by creator job" aggregator

This commit is contained in:
2023-11-07 16:07:24 +01:00
parent 83fe3ec3fc
commit bb1602934c
5 changed files with 18 additions and 15 deletions

View File

@@ -12,7 +12,7 @@ declare(strict_types=1);
namespace Chill\ActivityBundle\Tests\Export\Aggregator;
use Chill\ActivityBundle\Entity\Activity;
use Chill\ActivityBundle\Export\Aggregator\JobScopeAggregator;
use Chill\ActivityBundle\Export\Aggregator\CreatorJobAggregator;
use Chill\MainBundle\Test\Export\AbstractAggregatorTest;
use Doctrine\ORM\EntityManagerInterface;
@@ -21,15 +21,15 @@ use Doctrine\ORM\EntityManagerInterface;
*
* @coversNothing
*/
final class JobScopeAggregatorTest extends AbstractAggregatorTest
final class CreatorJobAggregatorTest extends AbstractAggregatorTest
{
private JobScopeAggregator $aggregator;
private CreatorJobAggregator $aggregator;
protected function setUp(): void
{
self::bootKernel();
$this->aggregator = self::$container->get(JobScopeAggregator::class);
$this->aggregator = self::$container->get(CreatorJobAggregator::class);
}
public function getAggregator()