Skip to content

Commit

Permalink
revert to generating feature tests in tests/Feature directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Mulkave committed Sep 20, 2021
1 parent 4a51a07 commit 8077679
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions bin/test-commands.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/Finder.php
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@ protected function findUnitTestsRootPath()
*/
protected function findFeatureTestsRootPath()
{
return base_path(). DS . 'tests' . DS . 'Features';
return base_path(). DS . 'tests' . DS . 'Feature';
}

/**
Expand Down

0 comments on commit 8077679

Please sign in to comment.