Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/Unit/AbstractWPUnitTestWithSafeFiltering.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Abstract test case for unit tests.
*/

namespace WooCommerce\Facebook\Tests\Unit;
namespace WooCommerce\Facebook\Tests;

use WP_UnitTestCase;

Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Admin/Settings/ConnectionTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace WooCommerce\Facebook\Tests\Unit;
namespace WooCommerce\Facebook\Tests\Admin\Settings;

use WooCommerce\Facebook\Admin\Settings_Screens\Connection;

Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Admin/Settings/ShopsTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace WooCommerce\Facebook\Tests\Unit\Admin\Settings;
namespace WooCommerce\Facebook\Tests\Admin\Settings;

use WooCommerce\Facebook\Admin\Settings_Screens\Shops;

Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Admin/Settings_Screens/ConnectionTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace WooCommerce\Facebook\Tests\Unit\Admin\Settings_Screens;
namespace WooCommerce\Facebook\Tests\Admin\Settings_Screens;

use PHPUnit\Framework\TestCase;
use WooCommerce\Facebook\Admin\Settings_Screens\Connection;
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Admin/Settings_Screens/ShopsTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace WooCommerce\Facebook\Tests\Unit\Admin\Settings_Screens;
namespace WooCommerce\Facebook\Tests\Admin\Settings_Screens;

use PHPUnit\Framework\TestCase;
use WooCommerce\Facebook\Admin\Settings_Screens\Shops;
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Api/REST/RestAPITest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Unit tests for REST API functionality.
*/

namespace WooCommerce\Facebook\Tests\Unit\API\Plugin;
namespace WooCommerce\Facebook\Tests\Api\REST;

use WooCommerce\Facebook\API\Plugin\InitializeRestAPI;
use WooCommerce\Facebook\API\Plugin\Settings\Handler;
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/ApiTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* Api unit test clas.
*/
class ApiTest extends \WooCommerce\Facebook\Tests\Unit\AbstractWPUnitTestWithSafeFiltering {
class ApiTest extends \WooCommerce\Facebook\Tests\AbstractWPUnitTestWithSafeFiltering {

/**
* Facebook Graph API endpoint.
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Feed/FeedUploadUtilsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* Sets up environment to test various logic in FeedUploadUtils
*/
class FeedUploadUtilsTest extends \WooCommerce\Facebook\Tests\Unit\AbstractWPUnitTestWithSafeFiltering {
class FeedUploadUtilsTest extends \WooCommerce\Facebook\Tests\AbstractWPUnitTestWithSafeFiltering {

/** @var int Shop page ID */
protected static $shop_page_id;
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Framework/Utilities/AsyncRequestTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
declare( strict_types=1 );

namespace WooCommerce\Facebook\Tests\Unit\Framework\Utilities;
namespace WooCommerce\Facebook\Tests\Framework\Utilities;

use WooCommerce\Facebook\Framework\Utilities\AsyncRequest;
use WP_UnitTestCase;
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Handlers/MetaExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Unit tests for Meta Extension handler.
*/

namespace WooCommerce\Facebook\Tests\Unit\Handlers;
namespace WooCommerce\Facebook\Tests\Handlers;

use WooCommerce\Facebook\Handlers\MetaExtension;
use WP_UnitTestCase;
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/WCFacebookCommerceIntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/**
* Unit tests for Facebook Graph API calls.
*/
class WCFacebookCommerceIntegrationTest extends \WooCommerce\Facebook\Tests\Unit\AbstractWPUnitTestWithSafeFiltering {
class WCFacebookCommerceIntegrationTest extends \WooCommerce\Facebook\Tests\AbstractWPUnitTestWithSafeFiltering {

/**
* @var WC_Facebookcommerce
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/WPMLTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

class WPMLTest extends \WooCommerce\Facebook\Tests\Unit\AbstractWPUnitTestWithSafeFiltering {
class WPMLTest extends \WooCommerce\Facebook\Tests\AbstractWPUnitTestWithSafeFiltering {

/** @var int $fake_product_id */
private $fake_product_id = 1;
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/fbproductTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
declare(strict_types=1);


class fbproductTest extends \WooCommerce\Facebook\Tests\Unit\AbstractWPUnitTestWithSafeFiltering {
class fbproductTest extends \WooCommerce\Facebook\Tests\AbstractWPUnitTestWithSafeFiltering {
private $parent_fb_product;

/** @var \WC_Product_Simple */
Expand Down