laravel / framework

The Laravel Framework.
https://laravel.com
MIT License
32.31k stars 10.95k forks source link

Error when running laravel's phpunit test #47917

Closed Timtendo12 closed 1 year ago

Timtendo12 commented 1 year ago

Laravel Version

10.10

PHP Version

8.1.21

Database Driver & Version

n/a

Description

I get an error when running the phpunit through github overflow

image

Steps To Reproduce

Run the standard "Test laravel project" workflow by github

crynobone commented 1 year ago

Hey there, thanks for reporting this issue.

We'll need more info and/or code to debug this further. Can you please create a repository with the command below, commit the code that reproduces the issue as one separate commit on the main/master branch and share the repository here?

Please make sure that you have the latest version of the Laravel installer in order to run this command. Please also make sure you have both Git & the GitHub CLI tool properly set up.

laravel new bug-report --github="--public"

Do not amend and create a separate commit with your custom changes. After you've posted the repository, we'll try to reproduce the issue.

Thanks!

nunomaduro commented 1 year ago

While this may be a legitimate issue, can you first try posting your problem or question on one of the support channels below? If this issue can be definitively identified as a bug, feel free to open up a new issue with a link to the original one and we'll gladly help you out.

Laracasts Forums Laravel.io Forums StackOverflow Discord Larachat IRC

Thanks!