Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Tests] Streamline#52402
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
[Tests] Streamline#52402
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
| (newStateMachineValidator())->validate($definition,'foo'); | ||
| // the test ensures that the validation does not fail (i.e. it does not throw any exceptions) |
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.
are the following lines still needed@lyrixx I don't understand that part 🤔
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.
this makes no sense I agree, let's see what happens when removing the next lines
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.
could be also the result of a bad merge ? how does this look like on lower branches?
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.
The code looks the same until 4.4, I will provide a PR against 5.4 for this test and revert here
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
...ymfony/Component/Validator/Tests/Constraints/LessThanValidatorWithNegativeConstraintTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Routing/Tests/Generator/Dumper/CompiledUrlGeneratorDumperTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Routing/Tests/Generator/Dumper/CompiledUrlGeneratorDumperTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/PasswordHasher/Tests/Hasher/PasswordHasherFactoryTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/PasswordHasher/Tests/Hasher/PasswordHasherFactoryTest.phpShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/PasswordHasher/Tests/Hasher/SodiumPasswordHasherTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/PasswordHasher/Tests/Hasher/NativePasswordHasherTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
7add3d7 tobac4e6cCompare…tional arguments in tests (OskarStark)This PR was merged into the 5.4 branch.Discussion----------[PasswordHasher] [Tests] Do not invoke methods with additional arguments in tests| Q | A| ------------- | ---| Branch? | 5.4| Bug fix? | no| New feature? | no| Deprecations? | no| Issues | ---| License | MITExtracted from#52402I think its worth to merge this in 5.4Commits-------fdaefc4 [PasswordHasher][Tests] Do not invoke methods with additional arguments in tests
src/Symfony/Component/Routing/Tests/Generator/Dumper/CompiledUrlGeneratorDumperTest.phpShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Validator/Tests/Constraints/LengthValidatorTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Validator/Tests/Constraints/LengthValidatorTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Validator/Tests/Constraints/LengthValidatorTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Validator/Tests/Constraints/LengthValidatorTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Validator/Tests/Constraints/LengthValidatorTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Validator/Tests/Constraints/LocaleValidatorTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
27946e7 to10b0f48CompareOskarStark commentedDec 20, 2023
Done, good to go@nicolas-grekas |
This PR was merged into the 5.4 branch.Discussion----------[Workflow] Fix test| Q | A| ------------- | ---| Branch? | 5.4| Bug fix? | no| New feature? | no| Deprecations? | no| Issues | Follows#52402 (comment)| License | MITCommits-------02fa2ec [Workflow] Fix test
10b0f48 toee89a98Comparexabbuh commentedDec 21, 2023
the failures look related |
OskarStark commentedDec 21, 2023
fixed |
e93ad50 to9d64921CompareOskarStark commentedDec 22, 2023
Rebased ✅ |
9d64921 to33d71aaComparenicolas-grekas commentedDec 26, 2023
Thank you@OskarStark. |
…ark)This PR was merged into the 5.4 branch.Discussion----------[Tests] Streamline `CompiledUrlGenerator` tests| Q | A| ------------- | ---| Branch? | 7.1| Bug fix? | no| New feature? | no| Deprecations? | no| Issues | Follows#52402| License | MITweird, it looks like the expected exception is thrown in $this->generatorDumper->dump() 🤔 So the following code with the CompiledUrlGenerator is not needed, so maybe the test is not needed anymore or the test must be adjusted somehow to test the behavior of CompiledUrlgenerator....Commits-------807d70e [Tests] Streamline CompiledUrlGenerator tests
Uh oh!
There was an error while loading.Please reload this page.
Follows
expectExceptioncloser to the place of the expectation to avoid false positives #52157