Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed Jan 4, 2024
1 parent fac020b commit 889b954
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Console/ViewMakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ protected function getTestPath()
$preset = $this->generatorPreset();

$testPath = Str::of($this->testClassFullyQualifiedName())
->replace('\\', '/')
->replaceFirst('Tests/Feature', str_replace($preset->basePath(), '', $preset->testingPath()).'/Feature')
->replace('\\', DIRECTORY_SEPARATOR)
->replaceFirst(join_paths('Tests', 'Feature'), join_paths(str_replace($preset->basePath(), '', $preset->testingPath()), 'Feature'))
->append('Test.php')
->value();

Expand Down

0 comments on commit 889b954

Please sign in to comment.