Moved the PSR-4 namespaced test directory to the correct folder

I know this probably doesn't belong in this PR, but it has been thoroughly discussed and I don't think anyone will mind :)
This commit is contained in:
Christopher Allford 2020-05-14 21:04:11 -07:00
parent aa6a025526
commit 63ba6f7ee0
3 changed files with 2 additions and 4 deletions

View File

@ -45,7 +45,7 @@
}, },
"autoload-dev": { "autoload-dev": {
"psr-4": { "psr-4": {
"Automattic\\WooCommerce\\Tests\\": "tests/php/" "Automattic\\WooCommerce\\Tests\\": "tests/php/src"
} }
}, },
"scripts": { "scripts": {

View File

@ -5,12 +5,10 @@
* @package WooCommerce|Tests|WC_Helper. * @package WooCommerce|Tests|WC_Helper.
*/ */
namespace Automattic\WooCommerce;
/** /**
* Class WC_Tests_WC_Helper. * Class WC_Tests_WC_Helper.
*/ */
class WCHelperTest extends \WC_Unit_Test_Case { class WC_Helper_Test extends \WC_Unit_Test_Case {
/** /**
* Test that woo plugins are loaded correctly even if incorrect cache is intially set. * Test that woo plugins are loaded correctly even if incorrect cache is intially set.