Skip to content

Commit

Permalink
Merge pull request #21 from Batisska/@andrianov/change_feature_test_r…
Browse files Browse the repository at this point in the history
…oot_path_

change feature test root path
  • Loading branch information
Mulkave authored May 10, 2021
2 parents 58e1ba0 + 21b320b commit 4120430
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/Feature/TradeFeatureTest.php"
lint "tests/Feature/TradeFeatureTest.php"
examine "tests/Features/TradeFeatureTest.php"
lint "tests/Features/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/Feature/Services/Harbour/TradeFeatureTest.php"
lint "tests/Feature/Services/Harbour/TradeFeatureTest.php"
examine "tests/Features/Services/Harbour/TradeFeatureTest.php"
lint "tests/Features/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 @@ -890,7 +890,7 @@ protected function findUnitTestsRootPath()
*/
protected function findFeatureTestsRootPath()
{
return base_path(). DS . 'tests' . DS . 'Feature';
return base_path(). DS . 'tests' . DS . 'Features';
}

/**
Expand Down

0 comments on commit 4120430

Please sign in to comment.