leafsphp / leaf

🍁 The easiest way to create clean, simple but powerful web apps and APIs quickly
https://leafphp.dev
MIT License
1.12k stars 68 forks source link

Cannot generate tests on windows #190

Closed aricooperdavis closed 1 year ago

aricooperdavis commented 1 year ago

Describe the bug Running leaf test:setup on windows powershell/cmd from within a leaf project gives the message:

> leaf test:setup
'.' is not recognized as an internal or external command,
operable program or batch file.

To Reproduce Steps to reproduce the behavior:

  1. Install leaf: composer global require leafs/cli
  2. Create a new project: leaf create test-project --api --v3
  3. Navigate to the new project: cd .\test-api\
  4. Attempt to generate tests: leaf test:setup

Expected behavior I would expect tests to be generated, but instead the error above is displayed.

Additional context The path to the leaf project does not contain spaces. Running Leaf CLI v2.8.0 on Windows 10

aricooperdavis commented 1 year ago

Apologies, wrong repo