Skip to content

Commit 930bdf3

Browse files
committed
Fix wrong test namespaces
1 parent e96052f commit 930bdf3

File tree

10 files changed

+12
-10
lines changed

10 files changed

+12
-10
lines changed

tests/Unit/Configuration/IndexTemplateConfigTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace FOS\ElasticaBundle\Tests\Configuration;
12+
namespace FOS\ElasticaBundle\Tests\Unit\Configuration;
1313

1414
use FOS\ElasticaBundle\Configuration\IndexTemplateConfig;
1515
use PHPUnit\Framework\TestCase;

tests/Unit/DependencyInjection/ConfigurationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace FOS\ElasticaBundle\Tests\Unit\Resetter\DependencyInjection;
12+
namespace FOS\ElasticaBundle\Tests\Unit\DependencyInjection;
1313

1414
use FOS\ElasticaBundle\DependencyInjection\Configuration;
1515
use PHPUnit\Framework\TestCase;

tests/Unit/Elastica/ClientTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace FOS\ElasticaBundle\Tests\Unit\Client;
12+
namespace FOS\ElasticaBundle\Tests\Unit\Elastica;
1313

1414
use Elastica\Connection;
1515
use Elastica\Exception\ClientException;

tests/Unit/EventListener/PopulateListenerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace FOS\ElasticaBundle\Tests\Unit\Event;
12+
namespace FOS\ElasticaBundle\Tests\Unit\EventListener;
1313

1414
use FOS\ElasticaBundle\Event\PostIndexPopulateEvent;
1515
use FOS\ElasticaBundle\EventListener\PopulateListener;

tests/Unit/Exception/AliasIsIndexExceptionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace FOS\ElasticaBundle\Tests\Unit\Event;
12+
namespace FOS\ElasticaBundle\Tests\Unit\Exception;
1313

1414
use FOS\ElasticaBundle\Exception\AliasIsIndexException;
1515
use PHPUnit\Framework\TestCase;

tests/Unit/Paginator/FantaPaginatorAdapterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace FOS\ElasticaBundle\Tests\Unit\Event;
12+
namespace FOS\ElasticaBundle\Tests\Unit\Paginator;
1313

1414
use FOS\ElasticaBundle\Paginator\FantaPaginatorAdapter;
1515
use FOS\ElasticaBundle\Paginator\PaginatorAdapterInterface;

tests/Unit/Paginator/HybridPaginatorAdapterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace FOS\ElasticaBundle\Tests\Unit\Event;
12+
namespace FOS\ElasticaBundle\Tests\Unit\Paginator;
1313

1414
use Elastica\Query;
1515
use FOS\ElasticaBundle\Paginator\HybridPaginatorAdapter;

tests/Unit/Paginator/HybridPartialResultsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace FOS\ElasticaBundle\Tests\Unit\Event;
12+
namespace FOS\ElasticaBundle\Tests\Unit\Paginator;
1313

1414
use Elastica\ResultSet;
1515
use FOS\ElasticaBundle\Paginator\HybridPartialResults;

tests/Unit/Paginator/RawPaginatorAdapterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace FOS\ElasticaBundle\Tests\Unit\Event;
12+
namespace FOS\ElasticaBundle\Tests\Unit\Paginator;
1313

1414
use Elastica\Query;
1515
use Elastica\ResultSet;

tests/Unit/Persister/PagerPersisterRegistryTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace FOS\ElasticaBundle\Persister;
12+
namespace FOS\ElasticaBundle\Tests\Unit\Persister;
1313

14+
use FOS\ElasticaBundle\Persister\PagerPersisterInterface;
15+
use FOS\ElasticaBundle\Persister\PagerPersisterRegistry;
1416
use PHPUnit\Framework\TestCase;
1517
use Symfony\Component\DependencyInjection\ServiceLocator;
1618

0 commit comments

Comments
 (0)