Skip to content

Commit

Permalink
Merge pull request #44 from tienvx/move-test-application
Browse files Browse the repository at this point in the history
chore: Move TestApplication
  • Loading branch information
tienvx authored Mar 29, 2024
2 parents a5d8e71 + b860b05 commit de93aba
Show file tree
Hide file tree
Showing 13 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
/.phpunit.cache
/clover.xml
/coveralls-upload.json
/tests/Application/TestApplication/var/
/tests/TestApplication/var/
2 changes: 1 addition & 1 deletion .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
$finder = PhpCsFixer\Finder::create()
->in(__DIR__.'/src')
->in(__DIR__.'/tests')
->exclude('Application/TestApplication/var')
->exclude('TestApplication/var')
;

$config = new PhpCsFixer\Config();
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"autoload-dev": {
"psr-4": {
"Tienvx\\Bundle\\PactProviderBundle\\Tests\\Application\\TestApplication\\": "tests/Application/TestApplication/src/",
"Tienvx\\Bundle\\PactProviderBundle\\Tests\\TestApplication\\": "tests/TestApplication/src/",
"Tienvx\\Bundle\\PactProviderBundle\\Tests\\": "tests/"
}
},
Expand Down
2 changes: 1 addition & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ parameters:
- src
- tests
excludePaths:
- 'tests/Application/TestApplication/var'
- 'tests/TestApplication/var'
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<ini name="display_errors" value="1"/>
<ini name="error_reporting" value="-1"/>
<server name="SHELL_VERBOSITY" value="-1"/>
<server name="KERNEL_CLASS" value="Tienvx\Bundle\PactProviderBundle\Tests\Application\TestApplication\Kernel"/>
<server name="KERNEL_CLASS" value="Tienvx\Bundle\PactProviderBundle\Tests\TestApplication\Kernel"/>
</php>
<testsuites>
<testsuite name="tests">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

use Tienvx\Bundle\PactProviderBundle\Tests\Application\TestApplication\Kernel;
use Tienvx\Bundle\PactProviderBundle\Tests\TestApplication\Kernel;

$configuration = [
'http_method_override' => false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
->autoconfigure()
;

$services->load('Tienvx\\Bundle\\PactProviderBundle\\Tests\\Application\\TestApplication\\', '../src/*')
$services->load('Tienvx\\Bundle\\PactProviderBundle\\Tests\\TestApplication\\', '../src/*')
->exclude('../{Entity,Tests,Kernel.php}');
};
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Tienvx\Bundle\PactProviderBundle\Tests\Application\TestApplication;
namespace Tienvx\Bundle\PactProviderBundle\Tests\TestApplication;

use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Tienvx\Bundle\PactProviderBundle\Tests\Application\TestApplication\MessageDispatcher;
namespace Tienvx\Bundle\PactProviderBundle\Tests\TestApplication\MessageDispatcher;

use Tienvx\Bundle\PactProviderBundle\Attribute\AsMessageDispatcher;
use Tienvx\Bundle\PactProviderBundle\MessageDispatcher\DispatcherInterface;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Tienvx\Bundle\PactProviderBundle\Tests\Application\TestApplication\MessageDispatcher;
namespace Tienvx\Bundle\PactProviderBundle\Tests\TestApplication\MessageDispatcher;

use Tienvx\Bundle\PactProviderBundle\Attribute\AsMessageDispatcher;
use Tienvx\Bundle\PactProviderBundle\MessageDispatcher\DispatcherInterface;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Tienvx\Bundle\PactProviderBundle\Tests\Application\TestApplication\StateHandler;
namespace Tienvx\Bundle\PactProviderBundle\Tests\TestApplication\StateHandler;

use Tienvx\Bundle\PactProviderBundle\Attribute\AsStateHandler;
use Tienvx\Bundle\PactProviderBundle\Model\StateValues;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Tienvx\Bundle\PactProviderBundle\Tests\Application\TestApplication\StateHandler;
namespace Tienvx\Bundle\PactProviderBundle\Tests\TestApplication\StateHandler;

use Tienvx\Bundle\PactProviderBundle\Attribute\AsStateHandler;
use Tienvx\Bundle\PactProviderBundle\Model\StateValues;
Expand Down

0 comments on commit de93aba

Please sign in to comment.