diff --git a/composer.json b/composer.json index 822b663ab..261b2afd0 100755 --- a/composer.json +++ b/composer.json @@ -110,7 +110,10 @@ "autoload-dev": { "psr-4": { - "Tests\\": "tests/" + "Tests\\Acceptance\\": "tests/acceptance/", + "Tests\\Functional\\": "tests/functional/", + "Tests\\Unit\\": "tests/unit/", + "Tests\\Trigger\\": "tests/trigger/" } }, diff --git a/packages/Webkul/Admin/src/DataGrids/CouponsDataGrid.php b/packages/Webkul/Admin/src/DataGrids/CartRuleCouponsDataGrid.php similarity index 100% rename from packages/Webkul/Admin/src/DataGrids/CouponsDataGrid.php rename to packages/Webkul/Admin/src/DataGrids/CartRuleCouponsDataGrid.php diff --git a/tests/functional/Admin/Catalog/ProductCest.php b/tests/functional/Admin/Catalog/ProductCest.php index 9d2d3461a..ef49cb1ce 100644 --- a/tests/functional/Admin/Catalog/ProductCest.php +++ b/tests/functional/Admin/Catalog/ProductCest.php @@ -1,6 +1,6 @@ faker = Factory::create(); @@ -45,7 +45,7 @@ class DatabaseLogicCest ]); $parentCategoryName = $this->faker->word; - + $parentCategoryAttributes = [ 'parent_id' => $rootCategory->id, 'position' => 1, @@ -68,7 +68,7 @@ class DatabaseLogicCest $rootCategory->prependNode($parentCategory); $I->assertNotNull($parentCategory); - $categoryName = $this->faker->word; + $categoryName = $this->faker->word; $categoryAttributes = [ 'position' => 1, 'status' => 1, diff --git a/tests/trigger/Shop/TriggerCest.php b/tests/trigger/Shop/TriggerCest.php index 2be0f75d0..704a08fb6 100644 --- a/tests/trigger/Shop/TriggerCest.php +++ b/tests/trigger/Shop/TriggerCest.php @@ -1,6 +1,6 @@