Skip to content

Commit 4120430

Browse files
authored
Merge pull request #21 from Batisska/@andrianov/change_feature_test_root_path_
change feature test root path
2 parents 58e1ba0 + 21b320b commit 4120430

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

bin/test-commands.sh

+4-4
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/Feature/TradeFeatureTest.php"
53-
lint "tests/Feature/TradeFeatureTest.php"
52+
examine "tests/Features/TradeFeatureTest.php"
53+
lint "tests/Features/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/Feature/Services/Harbour/TradeFeatureTest.php"
112-
lint "tests/Feature/Services/Harbour/TradeFeatureTest.php"
111+
examine "tests/Features/Services/Harbour/TradeFeatureTest.php"
112+
lint "tests/Features/Services/Harbour/TradeFeatureTest.php"
113113

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

src/Finder.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,7 @@ protected function findUnitTestsRootPath()
890890
*/
891891
protected function findFeatureTestsRootPath()
892892
{
893-
return base_path(). DS . 'tests' . DS . 'Feature';
893+
return base_path(). DS . 'tests' . DS . 'Features';
894894
}
895895

896896
/**

0 commit comments

Comments
 (0)