-
-
Notifications
You must be signed in to change notification settings - Fork 440
do not implement __serialize() for users without passwords
#1743
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
Conversation
|
|
||
| // fetch a few packages needed for testing | ||
| MakerTestProcess::create('composer require phpunit browser-kit symfony/css-selector --prefer-dist --no-progress --no-suggest', $this->flexPath) | ||
| MakerTestProcess::create('composer require phpunit:1.1.* browser-kit symfony/css-selector --prefer-dist --no-progress --no-suggest', $this->flexPath) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
symfony/test-pack 1.2 brings us PHPUnit 12 which the tests don't run with
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1.1.* is weird. Don't you mean 11.* instead ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, phpunit is an alias for symfony/test-pack (see https://github.com/symfony/recipes/blob/main/symfony/test-pack/1.0/manifest.json#L2 and https://packagist.org/packages/symfony/test-pack#v1.1.0)
|
|
||
| MakerTestProcess::create( | ||
| \sprintf('composer create-project symfony/skeleton%s %s --prefer-dist --no-progress', $versionString, $flexProjectDir), | ||
| \sprintf('composer create-project symfony/skeleton%s %s --prefer-dist --no-progress --keep-vcs', $versionString, $flexProjectDir), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure when this broke but we need the .git directory as the created project serves as the base repository for the following tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIRC, it relied on Flex running git init to create a new git repository (free from the history of the skeleton)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, that might indeed explain it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @xabbuh, this change solved the problem I faced while trying to run the repository tests.
Now, I can complete my feature.
d18a933 to
06feabf
Compare
|
👀 |
__serialize() for users without passwords
No description provided.