Fixed Blocks Autoloads

This commit is contained in:
Christopher Allford 2023-12-09 20:42:32 -08:00
parent 8b6036a30e
commit 389828ad7e
47 changed files with 83 additions and 79 deletions

View File

@ -5,7 +5,7 @@
* @package WooCommerce Blocks * @package WooCommerce Blocks
*/ */
namespace Automattic\WooCommerce\Blocks\Tests; namespace Automattic\WooCommerce\Tests\Blocks;
// Require composer dependencies. // Require composer dependencies.
require_once dirname( __DIR__ ) . '/vendor/autoload.php'; require_once dirname( __DIR__ ) . '/vendor/autoload.php';

View File

@ -67,7 +67,11 @@
}, },
"psr-0": { "psr-0": {
"Automattic\\WooCommerce\\Vendor\\": "lib/packages/" "Automattic\\WooCommerce\\Vendor\\": "lib/packages/"
} },
"files": [
"src/StoreApi/deprecated.php",
"src/StoreApi/functions.php"
]
}, },
"autoload-dev": { "autoload-dev": {
"psr-4": { "psr-4": {

View File

@ -3808,7 +3808,7 @@
}, },
{ {
"name": "woocommerce/monorepo-plugin", "name": "woocommerce/monorepo-plugin",
"version": "dev-merge/move-blocks-php-and-assets", "version": "dev-fix/block-library-build",
"dist": { "dist": {
"type": "path", "type": "path",
"url": "../../packages/php/monorepo-plugin", "url": "../../packages/php/monorepo-plugin",

View File

@ -5,7 +5,7 @@
* @package WooCommerce\AI\Tests * @package WooCommerce\AI\Tests
*/ */
namespace Automattic\WooCommerce\Blocks\Tests\AI; namespace Automattic\WooCommerce\Tests\Blocks\AI;
use Automattic\WooCommerce\Blocks\AI\Connection; use Automattic\WooCommerce\Blocks\AI\Connection;
use \WP_UnitTestCase; use \WP_UnitTestCase;

View File

@ -1,9 +1,9 @@
<?php <?php
namespace Automattic\WooCommerce\Blocks\Tests\Assets; namespace Automattic\WooCommerce\Tests\Blocks\Assets;
use Automattic\WooCommerce\Blocks\Assets\Api; use Automattic\WooCommerce\Blocks\Assets\Api;
use Automattic\WooCommerce\Blocks\Tests\Mocks\AssetDataRegistryMock; use Automattic\WooCommerce\Tests\Blocks\Mocks\AssetDataRegistryMock;
use Automattic\WooCommerce\Blocks\Package; use Automattic\WooCommerce\Blocks\Package;
use InvalidArgumentException; use InvalidArgumentException;

View File

@ -1,7 +1,7 @@
<?php <?php
namespace Automattic\WooCommerce\Blocks\Tests\BlockTypes; namespace Automattic\WooCommerce\Tests\Blocks\BlockTypes;
use Automattic\WooCommerce\Blocks\Tests\Mocks\CartCheckoutUtilsMock; use Automattic\WooCommerce\Tests\Blocks\Mocks\CartCheckoutUtilsMock;
/** /**
* Tests for the Cart block type * Tests for the Cart block type

View File

@ -1,7 +1,7 @@
<?php <?php
namespace Automattic\WooCommerce\Blocks\Tests\BlockTypes; namespace Automattic\WooCommerce\Tests\Blocks\BlockTypes;
use Automattic\WooCommerce\Blocks\Tests\Mocks\ProductCollectionMock; use Automattic\WooCommerce\Tests\Blocks\Mocks\ProductCollectionMock;
/** /**
* Tests for the ProductCollection block type * Tests for the ProductCollection block type

View File

@ -1,7 +1,7 @@
<?php <?php
namespace Automattic\WooCommerce\Blocks\Tests\BlockTypes; namespace Automattic\WooCommerce\Tests\Blocks\BlockTypes;
use Automattic\WooCommerce\Blocks\Tests\Mocks\ProductQueryMock; use Automattic\WooCommerce\Tests\Blocks\Mocks\ProductQueryMock;
/** /**
* Tests for the ProductQuery block type * Tests for the ProductQuery block type

View File

@ -4,7 +4,7 @@
* bootstrap. * bootstrap.
*/ */
namespace Automattic\WooCommerce\Blocks\Tests\Bootstrap; namespace Automattic\WooCommerce\Tests\Blocks\Bootstrap;
use \WP_UnitTestCase; use \WP_UnitTestCase;
use Automattic\WooCommerce\Blocks\Domain\Bootstrap; use Automattic\WooCommerce\Blocks\Domain\Bootstrap;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Automattic\WooCommerce\Blocks\Tests\Domain\Package; namespace Automattic\WooCommerce\Tests\Blocks\Domain\Package;
use \WP_UnitTestCase; use \WP_UnitTestCase;
use Automattic\WooCommerce\Blocks\Domain\Package as TestedPackage; use Automattic\WooCommerce\Blocks\Domain\Package as TestedPackage;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Automattic\WooCommerce\Blocks\Tests\Library; namespace Automattic\WooCommerce\Tests\Blocks\Library;
use Yoast\PHPUnitPolyfills\TestCases\TestCase; use Yoast\PHPUnitPolyfills\TestCases\TestCase;
use \WC_Order; use \WC_Order;

View File

@ -3,7 +3,7 @@
* Helper used to create fixture data for tests. * Helper used to create fixture data for tests.
*/ */
namespace Automattic\WooCommerce\Blocks\Tests\Helpers; namespace Automattic\WooCommerce\Tests\Blocks\Helpers;
/** /**
* FixtureData class. * FixtureData class.

View File

@ -3,7 +3,7 @@
* Ensures the helper works. * Ensures the helper works.
*/ */
namespace Automattic\WooCommerce\Blocks\Tests\Helpers; namespace Automattic\WooCommerce\Tests\Blocks\Helpers;
require_once __DIR__ . '/ValidateSchema.php'; require_once __DIR__ . '/ValidateSchema.php';

View File

@ -3,7 +3,7 @@
* Helper used to validate schema differences. * Helper used to validate schema differences.
*/ */
namespace Automattic\WooCommerce\Blocks\Tests\Helpers; namespace Automattic\WooCommerce\Tests\Blocks\Helpers;
/** /**
* Validate schema. * Validate schema.

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Automattic\WooCommerce\Blocks\Tests\Utils; namespace Automattic\WooCommerce\Tests\Blocks\Utils;
use Automattic\WooCommerce\Blocks\Migration; use Automattic\WooCommerce\Blocks\Migration;
use Automattic\WooCommerce\Blocks\Options; use Automattic\WooCommerce\Blocks\Options;

View File

@ -1,10 +1,10 @@
<?php <?php
namespace Automattic\WooCommerce\Blocks\Tests\Registry; namespace Automattic\WooCommerce\Tests\Blocks\Registry;
use Automattic\WooCommerce\Blocks\Registry\Container as ContainerTest; use Automattic\WooCommerce\Blocks\Registry\Container as ContainerTest;
use Automattic\WooCommerce\Blocks\Registry\FactoryType; use Automattic\WooCommerce\Blocks\Registry\FactoryType;
use Automattic\WooCommerce\Blocks\Tests\Mocks\MockTestDependency; use Automattic\WooCommerce\Tests\Blocks\Mocks\MockTestDependency;
use Yoast\PHPUnitPolyfills\TestCases\TestCase; use Yoast\PHPUnitPolyfills\TestCases\TestCase;
/** /**

View File

@ -3,7 +3,7 @@
* Controller Tests. * Controller Tests.
*/ */
namespace Automattic\WooCommerce\Blocks\Tests\StoreApi; namespace Automattic\WooCommerce\Tests\Blocks\StoreApi;
/** /**
* ControllerTests * ControllerTests

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Automattic\WooCommerce\Blocks\Tests\StoreApi; namespace Automattic\WooCommerce\Tests\Blocks\StoreApi;
use Yoast\PHPUnitPolyfills\TestCases\TestCase; use Yoast\PHPUnitPolyfills\TestCases\TestCase;
use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema; use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema;

View File

@ -3,7 +3,7 @@
* Controller Tests. * Controller Tests.
*/ */
namespace Automattic\WooCommerce\Blocks\Tests\StoreApi\Formatters; namespace Automattic\WooCommerce\Tests\Blocks\StoreApi\Formatters;
use Automattic\WooCommerce\StoreApi\Formatters\CurrencyFormatter; use Automattic\WooCommerce\StoreApi\Formatters\CurrencyFormatter;

View File

@ -3,7 +3,7 @@
* Controller Tests. * Controller Tests.
*/ */
namespace Automattic\WooCommerce\Blocks\Tests\StoreApi\Formatters; namespace Automattic\WooCommerce\Tests\Blocks\StoreApi\Formatters;
use Automattic\WooCommerce\StoreApi\Formatters; use Automattic\WooCommerce\StoreApi\Formatters;
use Automattic\WooCommerce\StoreApi\Formatters\MoneyFormatter; use Automattic\WooCommerce\StoreApi\Formatters\MoneyFormatter;

View File

@ -3,7 +3,7 @@
* Controller Tests. * Controller Tests.
*/ */
namespace Automattic\WooCommerce\Blocks\Tests\StoreApi\Formatters; namespace Automattic\WooCommerce\Tests\Blocks\StoreApi\Formatters;
use Automattic\WooCommerce\StoreApi\Formatters\HtmlFormatter; use Automattic\WooCommerce\StoreApi\Formatters\HtmlFormatter;

View File

@ -3,7 +3,7 @@
* Controller Tests. * Controller Tests.
*/ */
namespace Automattic\WooCommerce\Blocks\Tests\StoreApi\Formatters; namespace Automattic\WooCommerce\Tests\Blocks\StoreApi\Formatters;
use Automattic\WooCommerce\StoreApi\Formatters\MoneyFormatter; use Automattic\WooCommerce\StoreApi\Formatters\MoneyFormatter;

View File

@ -3,7 +3,7 @@
* Rate Limits Tests * Rate Limits Tests
*/ */
namespace Automattic\WooCommerce\Blocks\Tests\StoreApi; namespace Automattic\WooCommerce\Tests\Blocks\StoreApi;
use Automattic\WooCommerce\StoreApi\Authentication; use Automattic\WooCommerce\StoreApi\Authentication;
use Automattic\WooCommerce\StoreApi\Utilities\RateLimits; use Automattic\WooCommerce\StoreApi\Utilities\RateLimits;

View File

@ -3,10 +3,10 @@
* Controller Tests. * Controller Tests.
*/ */
namespace Automattic\WooCommerce\Blocks\Tests\StoreApi\Routes; namespace Automattic\WooCommerce\Tests\Blocks\StoreApi\Routes;
use Automattic\WooCommerce\Blocks\Tests\StoreApi\Routes\ControllerTestCase; use Automattic\WooCommerce\Tests\Blocks\StoreApi\Routes\ControllerTestCase;
use Automattic\WooCommerce\Blocks\Tests\Helpers\FixtureData; use Automattic\WooCommerce\Tests\Blocks\Helpers\FixtureData;
/** /**
* Batch Controller Tests. * Batch Controller Tests.

View File

@ -3,10 +3,10 @@
* Controller Tests. * Controller Tests.
*/ */
namespace Automattic\WooCommerce\Blocks\Tests\StoreApi\Routes; namespace Automattic\WooCommerce\Tests\Blocks\StoreApi\Routes;
use Automattic\WooCommerce\Blocks\Tests\Helpers\FixtureData; use Automattic\WooCommerce\Tests\Blocks\Helpers\FixtureData;
use Automattic\WooCommerce\Blocks\Tests\Helpers\ValidateSchema; use Automattic\WooCommerce\Tests\Blocks\Helpers\ValidateSchema;
use Automattic\WooCommerce\StoreApi\SessionHandler; use Automattic\WooCommerce\StoreApi\SessionHandler;
use Automattic\WooCommerce\StoreApi\Utilities\JsonWebToken; use Automattic\WooCommerce\StoreApi\Utilities\JsonWebToken;
use Spy_REST_Server; use Spy_REST_Server;

View File

@ -3,11 +3,11 @@
* Controller Tests. * Controller Tests.
*/ */
namespace Automattic\WooCommerce\Blocks\Tests\StoreApi\Routes; namespace Automattic\WooCommerce\Tests\Blocks\StoreApi\Routes;
use Automattic\WooCommerce\Blocks\Tests\StoreApi\Routes\ControllerTestCase; use Automattic\WooCommerce\Tests\Blocks\StoreApi\Routes\ControllerTestCase;
use Automattic\WooCommerce\Blocks\Tests\Helpers\FixtureData; use Automattic\WooCommerce\Tests\Blocks\Helpers\FixtureData;
use Automattic\WooCommerce\Blocks\Tests\Helpers\ValidateSchema; use Automattic\WooCommerce\Tests\Blocks\Helpers\ValidateSchema;
/** /**
* Cart Coupons Controller Tests. * Cart Coupons Controller Tests.

View File

@ -3,10 +3,10 @@
* Cart extensions route tests. * Cart extensions route tests.
*/ */
namespace Automattic\WooCommerce\Blocks\Tests\StoreApi\Routes; namespace Automattic\WooCommerce\Tests\Blocks\StoreApi\Routes;
use Automattic\WooCommerce\Blocks\Tests\StoreApi\Routes\ControllerTestCase; use Automattic\WooCommerce\Tests\Blocks\StoreApi\Routes\ControllerTestCase;
use Automattic\WooCommerce\Blocks\Tests\Helpers\FixtureData; use Automattic\WooCommerce\Tests\Blocks\Helpers\FixtureData;
/** /**
* Cart Controller Tests. * Cart Controller Tests.

View File

@ -3,11 +3,11 @@
* Controller Tests. * Controller Tests.
*/ */
namespace Automattic\WooCommerce\Blocks\Tests\StoreApi\Routes; namespace Automattic\WooCommerce\Tests\Blocks\StoreApi\Routes;
use Automattic\WooCommerce\Blocks\Tests\StoreApi\Routes\ControllerTestCase; use Automattic\WooCommerce\Tests\Blocks\StoreApi\Routes\ControllerTestCase;
use Automattic\WooCommerce\Blocks\Tests\Helpers\FixtureData; use Automattic\WooCommerce\Tests\Blocks\Helpers\FixtureData;
use Automattic\WooCommerce\Blocks\Tests\Helpers\ValidateSchema; use Automattic\WooCommerce\Tests\Blocks\Helpers\ValidateSchema;
/** /**
* Cart Controller Tests. * Cart Controller Tests.

View File

@ -3,7 +3,7 @@
* Controller Tests. * Controller Tests.
*/ */
namespace Automattic\WooCommerce\Blocks\Tests\StoreApi\Routes; namespace Automattic\WooCommerce\Tests\Blocks\StoreApi\Routes;
use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema; use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema;
use Automattic\WooCommerce\StoreApi\Formatters; use Automattic\WooCommerce\StoreApi\Formatters;
@ -11,7 +11,7 @@ use Automattic\WooCommerce\StoreApi\Formatters\MoneyFormatter;
use Automattic\WooCommerce\StoreApi\Formatters\HtmlFormatter; use Automattic\WooCommerce\StoreApi\Formatters\HtmlFormatter;
use Automattic\WooCommerce\StoreApi\Formatters\CurrencyFormatter; use Automattic\WooCommerce\StoreApi\Formatters\CurrencyFormatter;
use Automattic\WooCommerce\StoreApi\Schemas\V1\CheckoutSchema; use Automattic\WooCommerce\StoreApi\Schemas\V1\CheckoutSchema;
use Automattic\WooCommerce\Blocks\Tests\Helpers\FixtureData; use Automattic\WooCommerce\Tests\Blocks\Helpers\FixtureData;
use Automattic\WooCommerce\StoreApi\Routes\V1\Checkout as CheckoutRoute; use Automattic\WooCommerce\StoreApi\Routes\V1\Checkout as CheckoutRoute;
use Automattic\WooCommerce\StoreApi\SchemaController; use Automattic\WooCommerce\StoreApi\SchemaController;

View File

@ -3,7 +3,7 @@
* ControllerTestCase Tests. * ControllerTestCase Tests.
*/ */
namespace Automattic\WooCommerce\Blocks\Tests\StoreApi\Routes; namespace Automattic\WooCommerce\Tests\Blocks\StoreApi\Routes;
use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema; use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema;
use Automattic\WooCommerce\StoreApi\Formatters; use Automattic\WooCommerce\StoreApi\Formatters;

View File

@ -3,11 +3,11 @@
* Controller Tests. * Controller Tests.
*/ */
namespace Automattic\WooCommerce\Blocks\Tests\StoreApi\Routes; namespace Automattic\WooCommerce\Tests\Blocks\StoreApi\Routes;
use Automattic\WooCommerce\Blocks\Tests\StoreApi\Routes\ControllerTestCase; use Automattic\WooCommerce\Tests\Blocks\StoreApi\Routes\ControllerTestCase;
use Automattic\WooCommerce\Blocks\Tests\Helpers\FixtureData; use Automattic\WooCommerce\Tests\Blocks\Helpers\FixtureData;
use Automattic\WooCommerce\Blocks\Tests\Helpers\ValidateSchema; use Automattic\WooCommerce\Tests\Blocks\Helpers\ValidateSchema;
/** /**
* Product Attributes Controller Tests. * Product Attributes Controller Tests.

View File

@ -3,11 +3,11 @@
* Controller Tests. * Controller Tests.
*/ */
namespace Automattic\WooCommerce\Blocks\Tests\StoreApi\Routes; namespace Automattic\WooCommerce\Tests\Blocks\StoreApi\Routes;
use Automattic\WooCommerce\Blocks\Tests\StoreApi\Routes\ControllerTestCase; use Automattic\WooCommerce\Tests\Blocks\StoreApi\Routes\ControllerTestCase;
use Automattic\WooCommerce\Blocks\Tests\Helpers\FixtureData; use Automattic\WooCommerce\Tests\Blocks\Helpers\FixtureData;
use Automattic\WooCommerce\Blocks\Tests\Helpers\ValidateSchema; use Automattic\WooCommerce\Tests\Blocks\Helpers\ValidateSchema;
/** /**
* Product Attributes Controller Tests. * Product Attributes Controller Tests.

View File

@ -3,11 +3,11 @@
* Controller Tests. * Controller Tests.
*/ */
namespace Automattic\WooCommerce\Blocks\Tests\StoreApi\Routes; namespace Automattic\WooCommerce\Tests\Blocks\StoreApi\Routes;
use Automattic\WooCommerce\Blocks\Tests\StoreApi\Routes\ControllerTestCase; use Automattic\WooCommerce\Tests\Blocks\StoreApi\Routes\ControllerTestCase;
use Automattic\WooCommerce\Blocks\Tests\Helpers\FixtureData; use Automattic\WooCommerce\Tests\Blocks\Helpers\FixtureData;
use Automattic\WooCommerce\Blocks\Tests\Helpers\ValidateSchema; use Automattic\WooCommerce\Tests\Blocks\Helpers\ValidateSchema;
/** /**
* Controller Tests. * Controller Tests.

View File

@ -3,11 +3,11 @@
* Controller Tests. * Controller Tests.
*/ */
namespace Automattic\WooCommerce\Blocks\Tests\StoreApi\Routes; namespace Automattic\WooCommerce\Tests\Blocks\StoreApi\Routes;
use Automattic\WooCommerce\Blocks\Tests\StoreApi\Routes\ControllerTestCase; use Automattic\WooCommerce\Tests\Blocks\StoreApi\Routes\ControllerTestCase;
use Automattic\WooCommerce\Blocks\Tests\Helpers\FixtureData; use Automattic\WooCommerce\Tests\Blocks\Helpers\FixtureData;
use Automattic\WooCommerce\Blocks\Tests\Helpers\ValidateSchema; use Automattic\WooCommerce\Tests\Blocks\Helpers\ValidateSchema;
/** /**
* Products Controller Tests. * Products Controller Tests.

View File

@ -3,9 +3,9 @@
* CartController Tests. * CartController Tests.
*/ */
namespace Automattic\WooCommerce\Blocks\Tests\StoreApi\Utilities; namespace Automattic\WooCommerce\Tests\Blocks\StoreApi\Utilities;
use Automattic\WooCommerce\Blocks\Tests\Helpers\FixtureData; use Automattic\WooCommerce\Tests\Blocks\Helpers\FixtureData;
use Automattic\WooCommerce\StoreApi\Utilities\CartController; use Automattic\WooCommerce\StoreApi\Utilities\CartController;
use Yoast\PHPUnitPolyfills\TestCases\TestCase; use Yoast\PHPUnitPolyfills\TestCases\TestCase;

View File

@ -3,7 +3,7 @@
* NoticeHandler Tests. * NoticeHandler Tests.
*/ */
namespace Automattic\WooCommerce\Blocks\Tests\StoreApi\Utilities; namespace Automattic\WooCommerce\Tests\Blocks\StoreApi\Utilities;
use Automattic\WooCommerce\StoreApi\Exceptions\RouteException; use Automattic\WooCommerce\StoreApi\Exceptions\RouteException;
use Automattic\WooCommerce\StoreApi\Utilities\NoticeHandler; use Automattic\WooCommerce\StoreApi\Utilities\NoticeHandler;

View File

@ -3,7 +3,7 @@
* OrderController Tests. * OrderController Tests.
*/ */
namespace Automattic\WooCommerce\Blocks\Tests\StoreApi\Utilities; namespace Automattic\WooCommerce\Tests\Blocks\StoreApi\Utilities;
use Automattic\WooCommerce\StoreApi\Exceptions\RouteException; use Automattic\WooCommerce\StoreApi\Exceptions\RouteException;
use Automattic\WooCommerce\StoreApi\Utilities\OrderController; use Automattic\WooCommerce\StoreApi\Utilities\OrderController;

View File

@ -1,9 +1,9 @@
<?php <?php
namespace Automattic\WooCommerce\Blocks\Tests\StoreApi\Utilities; namespace Automattic\WooCommerce\Tests\Blocks\StoreApi\Utilities;
use Automattic\WooCommerce\StoreApi\Utilities\ProductQueryFilters; use Automattic\WooCommerce\StoreApi\Utilities\ProductQueryFilters;
use Yoast\PHPUnitPolyfills\TestCases\TestCase; use Yoast\PHPUnitPolyfills\TestCases\TestCase;
use Automattic\WooCommerce\Blocks\Tests\Helpers\FixtureData; use Automattic\WooCommerce\Tests\Blocks\Helpers\FixtureData;
class ProductQueryFiltersTest extends TestCase { class ProductQueryFiltersTest extends TestCase {
/** /**

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Automattic\WooCommerce\Blocks\Tests\Templates; namespace Automattic\WooCommerce\Tests\Blocks\Templates;
use \WP_UnitTestCase; use \WP_UnitTestCase;
use Automattic\WooCommerce\Blocks\Templates\SingleProductTemplateCompatibility; use Automattic\WooCommerce\Blocks\Templates\SingleProductTemplateCompatibility;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Automattic\WooCommerce\Blocks\Tests\Templates; namespace Automattic\WooCommerce\Tests\Blocks\Templates;
use Automattic\WooCommerce\Blocks\Templates\SingleProductTemplate; use Automattic\WooCommerce\Blocks\Templates\SingleProductTemplate;
use \WP_UnitTestCase; use \WP_UnitTestCase;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Automattic\WooCommerce\Blocks\Tests\Utils; namespace Automattic\WooCommerce\Tests\Blocks\Utils;
use Automattic\WooCommerce\Blocks\Migration; use Automattic\WooCommerce\Blocks\Migration;
use Automattic\WooCommerce\Blocks\Options; use Automattic\WooCommerce\Blocks\Options;

View File

@ -1,5 +1,5 @@
<?php <?php
namespace Automattic\WooCommerce\Blocks\Tests\BlockTypes; namespace Automattic\WooCommerce\Tests\Blocks\BlockTypes;
use Automattic\WooCommerce\Blocks\Utils\MiniCartUtils; use Automattic\WooCommerce\Blocks\Utils\MiniCartUtils;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Automattic\WooCommerce\Blocks\Tests\Mocks; namespace Automattic\WooCommerce\Tests\Blocks\Mocks;
use Automattic\WooCommerce\Blocks\Assets\AssetDataRegistry; use Automattic\WooCommerce\Blocks\Assets\AssetDataRegistry;

View File

@ -1,5 +1,5 @@
<?php <?php
namespace Automattic\WooCommerce\Blocks\Tests\Mocks; namespace Automattic\WooCommerce\Tests\Blocks\Mocks;
use Automattic\WooCommerce\Blocks\Utils\CartCheckoutUtils; use Automattic\WooCommerce\Blocks\Utils\CartCheckoutUtils;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Automattic\WooCommerce\Blocks\Tests\Mocks; namespace Automattic\WooCommerce\Tests\Blocks\Mocks;
class MockTestDependency { class MockTestDependency {
public $dependency; public $dependency;

View File

@ -1,5 +1,5 @@
<?php <?php
namespace Automattic\WooCommerce\Blocks\Tests\Mocks; namespace Automattic\WooCommerce\Tests\Blocks\Mocks;
use Automattic\WooCommerce\Blocks\BlockTypes\ProductCollection; use Automattic\WooCommerce\Blocks\BlockTypes\ProductCollection;
use Automattic\WooCommerce\Blocks\Package; use Automattic\WooCommerce\Blocks\Package;

View File

@ -1,5 +1,5 @@
<?php <?php
namespace Automattic\WooCommerce\Blocks\Tests\Mocks; namespace Automattic\WooCommerce\Tests\Blocks\Mocks;
use Automattic\WooCommerce\Blocks\BlockTypes\ProductQuery; use Automattic\WooCommerce\Blocks\BlockTypes\ProductQuery;
use Automattic\WooCommerce\Blocks\Package; use Automattic\WooCommerce\Blocks\Package;