exports tests: move tests in sub-folder, adapt namespace + fix errors

This commit is contained in:
2022-09-06 15:34:42 +02:00
parent eedfa60bea
commit d3a0c4c283
32 changed files with 68 additions and 72 deletions

View File

@@ -9,7 +9,7 @@
declare(strict_types=1);
namespace Chill\PersonBundle\Tests\Export\Aggregator;
namespace Chill\PersonBundle\Tests\Export\Aggregator\PersonAggregators;
use Chill\MainBundle\Test\Export\AbstractAggregatorTest;
use DateTime;
@@ -21,7 +21,7 @@ use DateTime;
final class AgeAggregatorTest extends AbstractAggregatorTest
{
/**
* @var \Chill\PersonBundle\Export\Aggregator\AgeAggregator
* @var \Chill\PersonBundle\Export\Aggregator\PersonAggregators\AgeAggregator
*/
private $aggregator;

View File

@@ -9,7 +9,7 @@
declare(strict_types=1);
namespace Chill\PersonBundle\Tests\Export\Aggregator;
namespace Chill\PersonBundle\Tests\Export\Aggregator\PersonAggregators;
use Chill\MainBundle\Test\Export\AbstractAggregatorTest;
@@ -20,7 +20,7 @@ use Chill\MainBundle\Test\Export\AbstractAggregatorTest;
final class GenderAggregatorTest extends AbstractAggregatorTest
{
/**
* @var \Chill\PersonBundle\Export\Aggregator\GenderAggregator
* @var \Chill\PersonBundle\Export\Aggregator\PersonAggregators\GenderAggregator
*/
private $aggregator;

View File

@@ -9,7 +9,7 @@
declare(strict_types=1);
namespace Chill\PersonBundle\Tests\Export\Aggregator;
namespace Chill\PersonBundle\Tests\Export\Aggregator\PersonAggregators;
use Chill\MainBundle\Test\Export\AbstractAggregatorTest;
@@ -20,7 +20,7 @@ use Chill\MainBundle\Test\Export\AbstractAggregatorTest;
final class NationalityAggregatorTest extends AbstractAggregatorTest
{
/**
* @var \Chill\PersonBundle\Export\Aggregator\NationalityAggregator
* @var \Chill\PersonBundle\Export\Aggregator\PersonAggregators\NationalityAggregator
*/
private $aggregator;

View File

@@ -9,10 +9,10 @@
declare(strict_types=1);
namespace Chill\PersonBundle\Tests\Export\Aggregator;
namespace Chill\PersonBundle\Tests\Export\Aggregator\SocialWorkAggregators;
use Chill\MainBundle\Test\Export\AbstractAggregatorTest;
use Chill\PersonBundle\Export\Aggregator\ActionTypeAggregator;
use Chill\PersonBundle\Export\Aggregator\SocialWorkAggregators\ActionTypeAggregator;
/**
* @internal

View File

@@ -9,10 +9,10 @@
declare(strict_types=1);
namespace Chill\PersonBundle\Tests\Export\Aggregator;
namespace Chill\PersonBundle\Tests\Export\Aggregator\SocialWorkAggregators;
use Chill\MainBundle\Test\Export\AbstractAggregatorTest;
use Chill\PersonBundle\Export\Aggregator\GoalAggregator;
use Chill\PersonBundle\Export\Aggregator\SocialWorkAggregators\GoalAggregator;
/**
* @internal

View File

@@ -9,10 +9,10 @@
declare(strict_types=1);
namespace Chill\PersonBundle\Tests\Export\Aggregator;
namespace Chill\PersonBundle\Tests\Export\Aggregator\SocialWorkAggregators;
use Chill\MainBundle\Test\Export\AbstractAggregatorTest;
use Chill\PersonBundle\Export\Aggregator\ReferrerAggregator;
use Chill\PersonBundle\Export\Aggregator\SocialWorkAggregators\ReferrerAggregator;
/**
* @internal

View File

@@ -9,10 +9,10 @@
declare(strict_types=1);
namespace Chill\PersonBundle\Tests\Export\Aggregator;
namespace Chill\PersonBundle\Tests\Export\Aggregator\SocialWorkAggregators;
use Chill\MainBundle\Test\Export\AbstractAggregatorTest;
use Chill\PersonBundle\Export\Aggregator\ResultAggregator;
use Chill\PersonBundle\Export\Aggregator\SocialWorkAggregators\ResultAggregator;
/**
* @internal