-
Notifications
You must be signed in to change notification settings - Fork 132
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
Filesystem::remove() argument #1 must be string, SplFileInfo given #908
Comments
Hi @Nurgiel. Thank you for your report. Join Magento Community Engineering Slack and ask your questions in #github channel. |
@magento I am working on this |
Hi @Nurgiel! 👋 |
@magento add to contributors team |
@magento I am working on this |
I got the same issue running MFTF in Magento Docker with docker-compose run test mftf-command build:project |
I had the same problem, solved it by manually deleting a previously generated test suite file before re-running build:project. The file was located under:
|
Hello, I'm getting an error when running
vendor/bin/mftf build:project
I also managed to fix it my changing line 89 in vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Console/CleanProjectCommand.php from:
$fileSystem->remove($file);
to$fileSystem->remove($file->getRealPath());
Preconditions
Steps to reproduce
Expected result
Actual result
The text was updated successfully, but these errors were encountered: