Skip to content

Commit 8077679

Browse files
committed
revert to generating feature tests in tests/Feature directory
1 parent 4a51a07 commit 8077679

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

bin/test-commands.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ lint "app/Http/Controllers/TradeController.php"
4949
./vendor/bin/lucid make:feature trade
5050
examine "app/Features/TradeFeature.php"
5151
lint "app/Features/TradeFeature.php"
52-
examine "tests/Features/TradeFeatureTest.php"
53-
lint "tests/Features/TradeFeatureTest.php"
52+
examine "tests/Feature/TradeFeatureTest.php"
53+
lint "tests/Feature/TradeFeatureTest.php"
5454

5555
# Job
5656
./vendor/bin/lucid make:job submitTradeRequest shipping
@@ -108,8 +108,8 @@ lint "app/Services/Harbour/Http/Controllers/TradeController.php"
108108
./vendor/bin/lucid make:feature trade harbour
109109
examine "app/Services/Harbour/Features/TradeFeature.php"
110110
lint "app/Services/Harbour/Features/TradeFeature.php"
111-
examine "tests/Features/Services/Harbour/TradeFeatureTest.php"
112-
lint "tests/Features/Services/Harbour/TradeFeatureTest.php"
111+
examine "tests/Feature/Services/Harbour/TradeFeatureTest.php"
112+
lint "tests/Feature/Services/Harbour/TradeFeatureTest.php"
113113

114114
## Operation
115115
./vendor/bin/lucid make:operation spin harbour

src/Finder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -905,7 +905,7 @@ protected function findUnitTestsRootPath()
905905
*/
906906
protected function findFeatureTestsRootPath()
907907
{
908-
return base_path(). DS . 'tests' . DS . 'Features';
908+
return base_path(). DS . 'tests' . DS . 'Feature';
909909
}
910910

911911
/**

0 commit comments

Comments
 (0)