Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors when running tests. #46

Open
edalzell opened this issue Jan 8, 2020 · 0 comments
Open

Errors when running tests. #46

edalzell opened this issue Jan 8, 2020 · 0 comments

Comments

@edalzell
Copy link

edalzell commented Jan 8, 2020

Statamic 2.11.16, PHP 7.4.

4) Statamic\Addons\Spock\CommanderTest::only_runs_commands_for_whitelisted_environments
ErrorException: Cannot use "parent" when current class scope has no parent

/Users/erin/Sites/simple/statamic/vendor/mockery/mockery/library/Mockery/Loader/EvalLoader.php:16
/Users/erin/Sites/simple/statamic/vendor/mockery/mockery/library/Mockery/Loader/EvalLoader.php:16
/Users/erin/Sites/simple/statamic/vendor/mockery/mockery/library/Mockery/Container.php:219
/Users/erin/Sites/simple/statamic/vendor/mockery/mockery/library/Mockery.php:98
/Users/erin/Sites/simple/site/addons/Spock/tests/CommanderTest.php:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant