Skip to content

Commit

Permalink
Move PHPUnit tests from bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
loic425 committed Jul 18, 2023
1 parent 8e6d285 commit 5f8f75b
Show file tree
Hide file tree
Showing 35 changed files with 4 additions and 9 deletions.
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
/psalm.xml export-ignore
/rector.php
/src/Bundle/spec export-ignore
/src/Bundle/Tests export-ignore
/src/Component/spec export-ignore
/src/Component/Tests export-ignore
/src/Component/phpspec.yml.dist export-ignore
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
"autoload-dev": {
"psr-4": {
"Sylius\\Bundle\\ResourceBundle\\spec\\": "src/Bundle/spec/",
"Sylius\\Bundle\\ResourceBundle\\Tests\\": "tests/Bundle/",
"Sylius\\Component\\Resource\\spec\\": "src/Component/spec/",
"App\\": "tests/Application/src/"
}
Expand Down
1 change: 0 additions & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
<testsuites>
<testsuite name="SyliusResourceBundle Test Suite">
<directory>./tests/</directory>
<directory>./src/Bundle/Tests/</directory>
<directory>./src/Component/Tests/</directory>
</testsuite>
</testsuites>
Expand Down
1 change: 0 additions & 1 deletion psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
<directory name="vendor" />
<directory name="src/Bundle/Doctrine/ODM" />
<directory name="src/Bundle/spec" />
<directory name="src/Bundle/Tests" />
<directory name="src/Component/spec" />
<directory name="src/Component/vendor" />
<file name="src/Bundle/Controller/ControllerTrait.php" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,12 @@

declare(strict_types=1);

namespace DependencyInjection\Compiler;
namespace Sylius\Bundle\ResourceBundle\Tests\DependencyInjection\Compiler;

use Matthias\SymfonyDependencyInjectionTest\PhpUnit\AbstractCompilerPassTestCase;
use Sylius\Bundle\ResourceBundle\Controller\StateMachine;
use Sylius\Bundle\ResourceBundle\Controller\Workflow;
use Sylius\Bundle\ResourceBundle\DependencyInjection\Compiler\RegisterResourceStateMachinePass;
use Sylius\Bundle\ResourceBundle\Tests\DependencyInjection\Compiler\AuthorClass;
use Sylius\Bundle\ResourceBundle\Tests\DependencyInjection\Compiler\BookClass;
use Sylius\Bundle\ResourceBundle\Tests\DependencyInjection\Compiler\PullRequestClass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Definition;

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

declare(strict_types=1);

namespace Routing;
namespace Sylius\Bundle\ResourceBundle\Tests\Routing;

use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

declare(strict_types=1);

namespace Routing;
namespace Sylius\Bundle\ResourceBundle\Tests\Routing;

use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
use Symfony\Component\HttpKernel\Kernel;
Expand Down
File renamed without changes.

0 comments on commit 5f8f75b

Please sign in to comment.