Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Commit

Permalink
WIP: fix namespaces of tests to conform PSR-4
Browse files Browse the repository at this point in the history
  • Loading branch information
jenschude committed Jul 27, 2021
1 parent c832819 commit cf52eff
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 20 deletions.
7 changes: 0 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,6 @@
"cache/redis-adapter": "For usage of a redis server to store the client access token",
"cache/doctrine-adapter": "For usage of a doctrine cache instance to store the client access token"
},
"scripts": {
"updateConfig": [
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters"
],
"post-update-cmd": "@updateConfig",
"post-install-cmd": "@updateConfig"
},
"extra": {
"branch-alias": {
"dev-develop": "2.8-dev"
Expand Down
3 changes: 1 addition & 2 deletions tests/integration/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
* @author @jenschude <[email protected]>
*/

namespace Commercetools\Core\IntegrationTests\Project;
namespace Commercetools\Core\IntegrationTests;

use Commercetools\Core\Fixtures\FooHandler;
use Commercetools\Core\IntegrationTests\ApiTestCase;
use Commercetools\Core\Client;
use Commercetools\Core\Helper\CorrelationIdProvider;
use Commercetools\Core\Helper\DefaultCorrelationIdProvider;
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/OrderEdit/OrderEditQueryRequestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
/**
*/

namespace Commercetools\Core\IntegrationTests\Order;
namespace Commercetools\Core\IntegrationTests\OrderEdit;

use Commercetools\Core\Builder\Request\RequestBuilder;
use Commercetools\Core\IntegrationTests\OrderEdit\OrderEditFixture;
use Commercetools\Core\IntegrationTests\Order\OrderQueryRequestTest;
use Commercetools\Core\IntegrationTests\ShippingMethod\ShippingMethodFixture;
use Commercetools\Core\Model\OrderEdit\OrderEdit;
use Commercetools\Core\Model\ShippingMethod\ShippingMethod;
Expand Down
3 changes: 1 addition & 2 deletions tests/unit/Builder/Update/GenericActionBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
* @author @jenschude <[email protected]>
*/

namespace Commercetools\Core\Builder\Request;

namespace Commercetools\Core\Builder\Update;

use Commercetools\Core\Builder\Update\ActionBuilder;
use Commercetools\Core\Request\AbstractAction;
Expand Down
5 changes: 1 addition & 4 deletions tests/unit/Model/Common/JsonObjectTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@
* @created: 29.01.15, 12:24
*/

namespace Commercetools\Core\Model\Type;
namespace Commercetools\Core\Model\Common;

use InvalidArgumentException;
use BadMethodCallException;
use Commercetools\Core\Model\Common\DateTimeDecorator;
use Commercetools\Core\Model\Common\JsonObject;
use Commercetools\Core\Model\Common\LocalizedString;
use Commercetools\Core\Model\ProductType\AttributeDefinition;
use Commercetools\Core\Model\ProductType\AttributeDefinitionCollection;
use Commercetools\Core\Model\ProductType\ProductTypeDraft;
Expand Down
4 changes: 1 addition & 3 deletions tests/unit/Model/Common/ReferenceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@
* @created: 29.01.15, 12:29
*/

namespace Commercetools\Core\Model\Type;
namespace Commercetools\Core\Model\Common;

use Commercetools\Core\Model\Common\Reference;
use Commercetools\Core\Model\Product\Product;
use Commercetools\Core\Model\ProductType\ProductType;
use Commercetools\Core\Model\ProductType\ProductTypeReference;

class ReferenceTest extends \PHPUnit\Framework\TestCase
{
Expand Down

0 comments on commit cf52eff

Please sign in to comment.