From 80776795b9f5584e6b19d888be887aa49d68abab Mon Sep 17 00:00:00 2001 From: Abed Halawi Date: Mon, 20 Sep 2021 11:53:52 +0300 Subject: [PATCH] revert to generating feature tests in tests/Feature directory --- bin/test-commands.sh | 8 ++++---- src/Finder.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/test-commands.sh b/bin/test-commands.sh index 82b2ceb..a5071b6 100755 --- a/bin/test-commands.sh +++ b/bin/test-commands.sh @@ -49,8 +49,8 @@ lint "app/Http/Controllers/TradeController.php" ./vendor/bin/lucid make:feature trade examine "app/Features/TradeFeature.php" lint "app/Features/TradeFeature.php" -examine "tests/Features/TradeFeatureTest.php" -lint "tests/Features/TradeFeatureTest.php" +examine "tests/Feature/TradeFeatureTest.php" +lint "tests/Feature/TradeFeatureTest.php" # Job ./vendor/bin/lucid make:job submitTradeRequest shipping @@ -108,8 +108,8 @@ lint "app/Services/Harbour/Http/Controllers/TradeController.php" ./vendor/bin/lucid make:feature trade harbour examine "app/Services/Harbour/Features/TradeFeature.php" lint "app/Services/Harbour/Features/TradeFeature.php" -examine "tests/Features/Services/Harbour/TradeFeatureTest.php" -lint "tests/Features/Services/Harbour/TradeFeatureTest.php" +examine "tests/Feature/Services/Harbour/TradeFeatureTest.php" +lint "tests/Feature/Services/Harbour/TradeFeatureTest.php" ## Operation ./vendor/bin/lucid make:operation spin harbour diff --git a/src/Finder.php b/src/Finder.php index 0cb0fd6..355c381 100644 --- a/src/Finder.php +++ b/src/Finder.php @@ -905,7 +905,7 @@ protected function findUnitTestsRootPath() */ protected function findFeatureTestsRootPath() { - return base_path(). DS . 'tests' . DS . 'Features'; + return base_path(). DS . 'tests' . DS . 'Feature'; } /**