Skip to content

Commit

Permalink
Change tests namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
loevgaard committed Feb 13, 2024
1 parent 2fe3d3c commit 3e10d6f
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
},
"autoload-dev": {
"psr-4": {
"Tests\\Acme\\SyliusExamplePlugin\\": "tests/"
"Acme\\SyliusExamplePlugin\\Tests\\": "tests/"
},
"classmap": [
"tests/Application/Kernel.php"
Expand Down
2 changes: 1 addition & 1 deletion tests/Application/.env.test
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
APP_SECRET='ch4mb3r0f5ecr3ts'

KERNEL_CLASS='Tests\Acme\SyliusExamplePlugin\Application\Kernel'
KERNEL_CLASS='Acme\SyliusExamplePlugin\Tests\Application\Kernel'
2 changes: 1 addition & 1 deletion tests/Application/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Tests\Acme\SyliusExamplePlugin\Application;
namespace Acme\SyliusExamplePlugin\Tests\Application;

use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait;
use Symfony\Component\HttpKernel\Bundle\BundleInterface;
Expand Down
2 changes: 1 addition & 1 deletion tests/Application/bin/console
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env php
<?php

use Tests\Acme\SyliusExamplePlugin\Application\Kernel;
use Acme\SyliusExamplePlugin\Tests\Application\Kernel;
use Symfony\Bundle\FrameworkBundle\Console\Application;
use Symfony\Component\Console\Input\ArgvInput;
use Symfony\Component\ErrorHandler\Debug;
Expand Down
2 changes: 1 addition & 1 deletion tests/Application/public/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

use Acme\SyliusExamplePlugin\Tests\Application\Kernel;
use Symfony\Component\ErrorHandler\Debug;
use Symfony\Component\HttpFoundation\Request;
use Tests\Acme\SyliusExamplePlugin\Application\Kernel;

require dirname(__DIR__) . '/config/bootstrap.php';

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

declare(strict_types=1);

namespace Tests\Acme\SyliusExamplePlugin\DependencyInjection;
namespace Acme\SyliusExamplePlugin\Tests\DependencyInjection;

use Acme\SyliusExamplePlugin\DependencyInjection\AcmeSyliusExampleExtension;
use Matthias\SymfonyDependencyInjectionTest\PhpUnit\AbstractExtensionTestCase;
Expand Down
2 changes: 1 addition & 1 deletion tests/DependencyInjection/ConfigurationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Tests\Acme\SyliusExamplePlugin\DependencyInjection;
namespace Acme\SyliusExamplePlugin\Tests\DependencyInjection;

use Acme\SyliusExamplePlugin\DependencyInjection\Configuration;
use Matthias\SymfonyConfigTest\PhpUnit\ConfigurationTestCaseTrait;
Expand Down

0 comments on commit 3e10d6f

Please sign in to comment.